further routing into wxApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -407,6 +407,21 @@ void wxApp::OSXOnWillFinishLaunching()
|
||||
|
||||
void wxApp::OSXOnDidFinishLaunching()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void wxApp::OSXOnWillTerminate()
|
||||
{
|
||||
wxCloseEvent event;
|
||||
event.SetCanVeto(false);
|
||||
wxTheApp->OnEndSession(event);
|
||||
}
|
||||
|
||||
bool wxApp::OSXOnShouldTerminate()
|
||||
{
|
||||
wxCloseEvent event;
|
||||
wxTheApp->OnQueryEndSession(event);
|
||||
return !event.GetVeto();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user