]> git.eshelyaron.com Git - emacs.git/commit
(local_heap, local_alloc, local_free): New macros.
authorRichard M. Stallman <rms@gnu.org>
Mon, 5 Aug 2002 16:33:44 +0000 (16:33 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 5 Aug 2002 16:33:44 +0000 (16:33 +0000)
commit6ed09cf02000ed8ffc3e0b0e89dfd885b0e518ff
tree1c9196469c59446e3d66b4af7e7be7e87ca7329f
parent2a51c0262a98a857525f40359cf6cab66315012a
(local_heap, local_alloc, local_free): New macros.
(malloc_widget_value, free_widget_value)
(w32_free_submenu_strings): Use them.

(push_submenu_start, push_submenu_end, push_left_right_boundary)
(push_menu_pane, push_menu_item, single_keymap_panes)
(single_menu_item, Fx_popup_menu, menubar_selection_callback)
(single_submenu, set_frame_menubar)
(w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE.

(Fx_popup_menu):  Don't show pop up menu until preceding one is
actually cleaned up.  Moved UNGCPRO outside #ifdef HAVE_MENUS block.

Changes adapted from xmenu.c
(set_frame_menubar): First parse all submenus,
then make widget_value trees from them.
Don't allocate any widget_value objects
until we are done with the parsing.
(parse_single_submenu): New function.
(digest_single_submenu): New function.
(single_submenu): Function deleted, replaced by those two.
src/w32menu.c