Various changes needed to get up to date with current CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user