diff win/dw.c @ 1367:a595e368a393

Menu clicked callbacks on OS/2 and Windows should pass the menu ID as the window handle... not the handle to the menu that gets used internaly.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 18 Nov 2011 22:49:56 +0000
parents cdbe26a4b116
children e705051d841c
line wrap: on
line diff
--- a/win/dw.c	Fri Nov 18 20:27:41 2011 +0000
+++ b/win/dw.c	Fri Nov 18 22:49:56 2011 +0000
@@ -2113,7 +2113,7 @@
                            /*
                             * Call the user supplied callback
                             */
-                           result = clickfunc(tmp->window, tmp->data);
+                           result = clickfunc((HWND)tmp->id, tmp->data);
                            tmp = NULL;
                         }
                      } /* this fires for checkable menu items */