]> git.saurik.com Git - wxWidgets.git/commitdiff
patch applied with thanks, fixes #13865
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 15 Jan 2012 11:18:25 +0000 (11:18 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 15 Jan 2012 11:18:25 +0000 (11:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/window.mm

index 3adaae15f40ef844c766f60accc17903b7d10d5d..b1906c4d1a603c1b3c1f28bc1c25ceae67607a27 100644 (file)
@@ -1091,6 +1091,7 @@ bool wxWidgetCocoaImpl::performKeyEquivalent(WX_NSEvent event, WXWidget slf, voi
         wxEvtHandler * const handler = m_wxPeer->GetEventHandler();
         
         wxCommandEvent command_event( wxEVT_COMMAND_MENU_SELECTED, command );
+        command_event.SetEventObject( wxevent.GetEventObject() );
         handled = handler->ProcessEvent( command_event );
         
         if ( !handled )