X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/249a57f4438ef017764e7b317fce1c9847ed45dc..d8f3f983596d288daa840ffb7510ffa1cc67be0f:/wxPython/src/helpers.cpp diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index dee8d45844..992ff622a6 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -115,6 +115,10 @@ int wxPyApp::MainLoop() { #endif if (initialized) { + if ( m_exitOnFrameDelete == Later ) { + m_exitOnFrameDelete = Yes; + } + retval = wxApp::MainLoop(); OnExit(); }