make sure we have a default handling the quit command, see #12402
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
50f403a568
commit
846c604304
@ -311,6 +311,10 @@ bool wxMenuItemCocoaImpl::DoDefault()
|
||||
[theNSApplication unhideAllApplications:nil];
|
||||
handled=true;
|
||||
}
|
||||
else if (menuid == wxApp::s_macExitMenuItemId)
|
||||
{
|
||||
wxTheApp->ExitMainLoop();
|
||||
}
|
||||
return handled;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user