]> git.saurik.com Git - wxWidgets.git/commitdiff
added GetMenu Support for MENU_OPEN
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 12 Sep 2004 14:24:01 +0000 (14:24 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 12 Sep 2004 14:24:01 +0000 (14:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/app.cpp

index 2b2c0b892cb770f06a6bf8b9fd3ab88f35c1b2bb..ff2c929c2a8f845c7a02f10239bc5ed49a76dc28 100644 (file)
@@ -402,7 +402,7 @@ wxMacAppMenuEventHandler( EventHandlerCallRef handler , EventRef event , void *d
 
         if ( type )
         {
-            wxMenuEvent wxevent(type, cmd);
+            wxMenuEvent wxevent(type, cmd, menu);
             wxevent.SetEventObject(menu);
 
             wxEvtHandler* handler = menu->GetEventHandler();