From: Stefan Csomor <csomor@advancedconcepts.ch>
Date: Sun, 12 Sep 2004 14:24:01 +0000 (+0000)
Subject: added GetMenu Support for MENU_OPEN
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/37a4035b5fc118632ada28932d74a91ee0ce4cb3

added GetMenu Support for MENU_OPEN


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp
index 2b2c0b892c..ff2c929c2a 100644
--- a/src/mac/carbon/app.cpp
+++ b/src/mac/carbon/app.cpp
@@ -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();