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:
parent
55079b432b
commit
10c3910e9b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user