Mercurial > emacs
view src/s/cxux7.h @ 11237:7c968b691ff0
(frame_vector): New static variable.
(syms_of_xmenu): staticpro it.
(frame_vector_add_frame): New function.
(set_frame_menubar): Use frame_vector; use index as the widget id.
(free_frame_menubar): Likewise. Remove the frame from frame_vector.
(menubar_selection_callback): Use frame_vector to turn id into frame.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 07 Apr 1995 03:39:07 +0000 |
parents | a5a7ee5afff7 |
children | 695cf19ef79e |
line wrap: on
line source
/* Define this symbol if you are running CX/UX 7.0 or later (7.0 introduced * support for ELF files, and while we still build emacs in COFF format, the * way it is linked is different for 7.0). */ #define USING_CX_UX_7 #include "cxux.h"