]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/helpers.cpp
Various changes needed to get up to date with current CVS
[wxWidgets.git] / wxPython / src / helpers.cpp
index 1e7a62009d394ce5bd2405121a98b4e7b38c5e4f..e71d858d5b7ccd75a638fc762a66642c39d45d53 100644 (file)
@@ -115,9 +115,6 @@ int  wxPyApp::MainLoop() {
 
     DeletePendingObjects();
     bool initialized = wxTopLevelWindows.GetCount() != 0;
-#ifdef __WXGTK__
-    m_initialized = initialized;
-#endif
 
     if (initialized) {
         if ( m_exitOnFrameDelete == Later ) {
@@ -439,10 +436,6 @@ PyObject* __wxStart(PyObject* /* self */, PyObject* args)
         goto error;
     }
 
-#ifdef __WXGTK__
-    wxTheApp->m_initialized = (wxTopLevelWindows.GetCount() > 0);
-#endif
-
     Py_DECREF(result);
     Py_DECREF(pyint);
     Py_INCREF(Py_None);