From 098be78d3923c9beef6220c1fe3e66b4ed27a51f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 16 Aug 2002 18:52:16 +0000 Subject: [PATCH] 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 --- wxPython/src/helpers.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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(); } -- 2.45.2