turning on old quit apple event handling

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-09-18 12:19:19 +00:00
parent f7d4537c2b
commit 8f793b407c
2 changed files with 4 additions and 6 deletions

View File

@@ -219,13 +219,12 @@ short wxApp::MacHandleAEOApp(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNU
short wxApp::MacHandleAEQuit(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNUSED(reply))
{
/* wxWindow* win = GetTopWindow() ;
wxWindow* win = GetTopWindow() ;
if ( win )
{
win->Close(TRUE ) ;
}
else
*/
{
ExitMainLoop() ;
}

View File

@@ -219,13 +219,12 @@ short wxApp::MacHandleAEOApp(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNU
short wxApp::MacHandleAEQuit(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNUSED(reply))
{
/* wxWindow* win = GetTopWindow() ;
wxWindow* win = GetTopWindow() ;
if ( win )
{
win->Close(TRUE ) ;
}
else
*/
{
ExitMainLoop() ;
}