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:
@@ -219,13 +219,12 @@ short wxApp::MacHandleAEOApp(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNU
|
|||||||
|
|
||||||
short wxApp::MacHandleAEQuit(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNUSED(reply))
|
short wxApp::MacHandleAEQuit(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNUSED(reply))
|
||||||
{
|
{
|
||||||
/* wxWindow* win = GetTopWindow() ;
|
wxWindow* win = GetTopWindow() ;
|
||||||
if ( win )
|
if ( win )
|
||||||
{
|
{
|
||||||
win->Close(TRUE ) ;
|
win->Close(TRUE ) ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
*/
|
|
||||||
{
|
{
|
||||||
ExitMainLoop() ;
|
ExitMainLoop() ;
|
||||||
}
|
}
|
||||||
|
@@ -219,13 +219,12 @@ short wxApp::MacHandleAEOApp(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNU
|
|||||||
|
|
||||||
short wxApp::MacHandleAEQuit(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNUSED(reply))
|
short wxApp::MacHandleAEQuit(const WXEVENTREF WXUNUSED(event) , WXEVENTREF WXUNUSED(reply))
|
||||||
{
|
{
|
||||||
/* wxWindow* win = GetTopWindow() ;
|
wxWindow* win = GetTopWindow() ;
|
||||||
if ( win )
|
if ( win )
|
||||||
{
|
{
|
||||||
win->Close(TRUE ) ;
|
win->Close(TRUE ) ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
*/
|
|
||||||
{
|
{
|
||||||
ExitMainLoop() ;
|
ExitMainLoop() ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user