diff src/msw-proc.c @ 233:52952cbfc5b5 r20-5b15

Import from CVS: tag r20-5b15
author cvs
date Mon, 13 Aug 2007 10:14:14 +0200
parents 557eaa0339bf
children 41f2f0e326e9
line wrap: on
line diff
--- a/src/msw-proc.c	Mon Aug 13 10:13:49 2007 +0200
+++ b/src/msw-proc.c	Mon Aug 13 10:14:14 2007 +0200
@@ -81,7 +81,7 @@
 /* Enqueue helpers                                                            */
 /*----------------------------------------------------------------------------*/
 
-static void
+void
 mswindows_enqueue_magic_event (HWND hwnd, UINT message)
 {
   Lisp_Object emacs_event = Fmake_event (Qnil, Qnil);
@@ -627,6 +627,7 @@
 #ifdef HAVE_MENUBARS
   case WM_INITMENU:
     if (UNBOUNDP (mswindows_handle_wm_initmenu (
+			(HMENU) wParam,
 			XFRAME (mswindows_find_frame (hwnd)))))
       SendMessage (hwnd, WM_CANCELMODE, 0, 0);
     break;