]> git.saurik.com Git - wxWidgets.git/commitdiff
wxPython needs to deal with the new exitOnFrameDelete policy too.
authorRobin Dunn <robin@alldunn.com>
Fri, 16 Aug 2002 18:52:16 +0000 (18:52 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 16 Aug 2002 18:52:16 +0000 (18:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/helpers.cpp

index dee8d45844e5a906c20b2d92160fb0ac48a59774..992ff622a6bd704f12e2fb2494959282f59bd018 100644 (file)
@@ -115,6 +115,10 @@ int  wxPyApp::MainLoop() {
 #endif
 
     if (initialized) {
+        if ( m_exitOnFrameDelete == Later ) {
+            m_exitOnFrameDelete = Yes;
+        }
+
         retval = wxApp::MainLoop();
         OnExit();
     }