A bit of cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2002-06-20 23:36:58 +00:00
parent dac348b9e2
commit 4cf1a93af3

View File

@ -10,7 +10,6 @@
// Licence: wxWindows license // Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#include <stdio.h> // get the correct definition of NULL
#undef DEBUG #undef DEBUG
#include <Python.h> #include <Python.h>
@ -29,7 +28,6 @@
#include <wx/gtk/win_gtk.h> #include <wx/gtk/win_gtk.h>
#endif #endif
//---------------------------------------------------------------------- //----------------------------------------------------------------------
#if PYTHON_API_VERSION <= 1007 && wxUSE_UNICODE #if PYTHON_API_VERSION <= 1007 && wxUSE_UNICODE
@ -227,13 +225,6 @@ PyObject* __wxStart(PyObject* /* self */, PyObject* args)
if (!PyArg_ParseTuple(args, "O", &onInitFunc)) if (!PyArg_ParseTuple(args, "O", &onInitFunc))
return NULL; 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... // This is the next part of the wxEntry functionality...
int argc = 0; int argc = 0;
wxChar** argv = NULL; wxChar** argv = NULL;