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:
@@ -311,6 +311,10 @@ bool wxMenuItemCocoaImpl::DoDefault()
|
|||||||
[theNSApplication unhideAllApplications:nil];
|
[theNSApplication unhideAllApplications:nil];
|
||||||
handled=true;
|
handled=true;
|
||||||
}
|
}
|
||||||
|
else if (menuid == wxApp::s_macExitMenuItemId)
|
||||||
|
{
|
||||||
|
wxTheApp->ExitMainLoop();
|
||||||
|
}
|
||||||
return handled;
|
return handled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user