X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/249a57f4438ef017764e7b317fce1c9847ed45dc..d3a80c922c7f0932f0b3985846e58ef48e3a6da7:/wxPython/src/helpers.cpp diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index dee8d45844..e317a426be 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(); } @@ -213,7 +217,6 @@ void __wxPreStart() } - // Start the user application, user App's OnInit method is a parameter here PyObject* __wxStart(PyObject* /* self */, PyObject* args) {