]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/helpers.cpp
Use the iconIndex in the default case too.
[wxWidgets.git] / 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();
     }