X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/249a57f4438ef017764e7b317fce1c9847ed45dc..4a28b9b81cafbf10b32dacbdc4fe98944e3ff6c6:/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) {