patch applied with thanks, fixes #13865
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1091,6 +1091,7 @@ bool wxWidgetCocoaImpl::performKeyEquivalent(WX_NSEvent event, WXWidget slf, voi
|
|||||||
wxEvtHandler * const handler = m_wxPeer->GetEventHandler();
|
wxEvtHandler * const handler = m_wxPeer->GetEventHandler();
|
||||||
|
|
||||||
wxCommandEvent command_event( wxEVT_COMMAND_MENU_SELECTED, command );
|
wxCommandEvent command_event( wxEVT_COMMAND_MENU_SELECTED, command );
|
||||||
|
command_event.SetEventObject( wxevent.GetEventObject() );
|
||||||
handled = handler->ProcessEvent( command_event );
|
handled = handler->ProcessEvent( command_event );
|
||||||
|
|
||||||
if ( !handled )
|
if ( !handled )
|
||||||
|
Reference in New Issue
Block a user