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:
Stefan Csomor 2013-05-31 18:18:42 +00:00
parent 50f403a568
commit 846c604304

View File

@ -311,6 +311,10 @@ bool wxMenuItemCocoaImpl::DoDefault()
[theNSApplication unhideAllApplications:nil];
handled=true;
}
else if (menuid == wxApp::s_macExitMenuItemId)
{
wxTheApp->ExitMainLoop();
}
return handled;
}