X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc5f2236eb2a043010243a7f41f6590f9a6c0cdb..7ba3ed2cbdf7bcd2668b0a6740b71fbaecefcddc:/wxPython/src/helpers.cpp diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index f87dd7bdee..bc9dab8071 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -10,7 +10,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#include // get the correct definition of NULL #undef DEBUG #include @@ -29,7 +28,6 @@ #include #endif - //---------------------------------------------------------------------- #if PYTHON_API_VERSION <= 1007 && wxUSE_UNICODE @@ -227,13 +225,6 @@ PyObject* __wxStart(PyObject* /* self */, PyObject* args) if (!PyArg_ParseTuple(args, "O", &onInitFunc)) return NULL; -#if 0 // Try it out without this check, see how it does... - if (wxTopLevelWindows.Number() > 0) { - PyErr_SetString(PyExc_TypeError, "Only 1 wxApp per process!"); - return NULL; - } -#endif - // This is the next part of the wxEntry functionality... int argc = 0; wxChar** argv = NULL;