Mercurial > emacs
diff src/s/dgux5-4-3.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 | 846bf8868a98 |
children | 621a575db6f7 |