From: Robin Dunn Date: Fri, 16 Aug 2002 18:52:16 +0000 (+0000) Subject: wxPython needs to deal with the new exitOnFrameDelete policy too. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/098be78d3923c9beef6220c1fe3e66b4ed27a51f wxPython needs to deal with the new exitOnFrameDelete policy too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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(); }