X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c623cf7d961576a81be74c5c9e8f02322136488..7ea515abfb0211078d9ffcd4420ef0b53f3fcabe:/wxPython/src/helpers.cpp?ds=sidebyside diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index 1e7a62009d..e71d858d5b 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -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);