Mercurial > hg > xemacs-beta
diff src/menubar-msw.c @ 288:e11d67e05968 r21-0b42
Import from CVS: tag r21-0b42
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:35:54 +0200 |
parents | 57709be46d1b |
children | 70ad99077275 |
line wrap: on
line diff
--- a/src/menubar-msw.c Mon Aug 13 10:35:07 2007 +0200 +++ b/src/menubar-msw.c Mon Aug 13 10:35:54 2007 +0200 @@ -594,7 +594,7 @@ /* We simply ignore return value. In any case, we construct the bar on the fly */ - run_hook (Vactivate_menubar_hook); + run_hook (Qactivate_menubar_hook); update_frame_menubar_maybe (f); @@ -631,15 +631,9 @@ menu_cleanup (f); /* Ok, this is our one. Enqueue it. */ - get_callback (data, &fn, &arg); - + get_gui_callback (data, &fn, &arg); XSETFRAME (frame, f); - enqueue_misc_user_event (frame, fn, arg); - - /* Needs good bump also, for WM_COMMAND may have been dispatched from - mswindows_need_event, which will block again despite new command - event has arrived */ - mswindows_bump_queue (); + mswindows_enqueue_misc_user_event (frame, fn, arg); UNGCPRO; /* data */ return Qt;