X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ff49f0c73a50f48dc211115ddaf7515c474eecd..dbaf885e8725529ba66653aabe5f7f20bc1f28db:/utils/wxPython/src/helpers.cpp diff --git a/utils/wxPython/src/helpers.cpp b/utils/wxPython/src/helpers.cpp index 2613693160..9a32b7fc27 100644 --- a/utils/wxPython/src/helpers.cpp +++ b/utils/wxPython/src/helpers.cpp @@ -105,9 +105,9 @@ int wxPyApp::MainLoop(void) { //--------------------------------------------------------------------- //---------------------------------------------------------------------- -int wxEntryStart( int argc, char *argv[] ); -int wxEntryInitGui(); -void wxEntryCleanup(); +int WXDLLEXPORT wxEntryStart( int argc, char** argv ); +int WXDLLEXPORT wxEntryInitGui(); +void WXDLLEXPORT wxEntryCleanup(); // This is where we pick up the first part of the wxEntry functionality... @@ -125,55 +125,6 @@ void __wxPreStart() if (wxTopLevelWindows.Number() > 0) return; -#if 0 - -#ifdef __WXMSW__ - wxApp::Initialize(); -#endif - -#ifdef __WXGTK__ - PyObject* sysargv = PySys_GetObject("argv"); - int argc = PyList_Size(sysargv); - char** argv = new char*[argc+1]; - int x; - for(x=0; x