From 13dfc24333f1ce5edf6c6e22d808d14a22111390 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 18 Aug 1998 21:54:12 +0000 Subject: [PATCH] ifdef out some wxGTK specific code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/wxPython/src/helpers.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/wxPython/src/helpers.cpp b/utils/wxPython/src/helpers.cpp index c2c02f94ab..5c9f69371d 100644 --- a/utils/wxPython/src/helpers.cpp +++ b/utils/wxPython/src/helpers.cpp @@ -158,7 +158,9 @@ PyObject* __wxStart(PyObject* /* self */, PyObject* args) return NULL; } +#ifdef __WXGTK__ wxTheApp->m_initialized = (wxTopLevelWindows.Number() > 0); +#endif Py_INCREF(Py_None); return Py_None; @@ -1071,6 +1073,9 @@ wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source) { ///////////////////////////////////////////////////////////////////////////// // // $Log$ +// Revision 1.6 1998/08/18 21:54:12 RD +// ifdef out some wxGTK specific code +// // Revision 1.5 1998/08/18 19:48:17 RD // more wxGTK compatibility things. // -- 2.45.2