init wxApp->argc and wxApp->argv even when wx has already been initialized

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-04-29 19:00:31 +00:00
parent 55079b432b
commit 10c3910e9b

View 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);