]> git.saurik.com Git - wxWidgets.git/commitdiff
init wxApp->argc and wxApp->argv even when wx has already been initialized
authorRobin Dunn <robin@alldunn.com>
Fri, 29 Apr 2005 19:00:31 +0000 (19:00 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 29 Apr 2005 19:00:31 +0000 (19:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/helpers.cpp

index f37f539ecad7deb469a1ac624571cc5f345e43b4..9b0c4c79ab464a8958c385fe96c68dae4644981a 100644 (file)
@@ -451,6 +451,11 @@ void wxPyApp::_BootstrapApp()
         wxPyEndBlockThreads(blocked);
         haveInitialized = true;
     }
+    else {
+        this->argc = 0;
+        this->argv = NULL;
+    }
+    
 
     // It's now ok to generate exceptions for assertion errors.
     wxPythonApp->SetStartupComplete(true);