fix handling of native toolkit command line options broken by wxCmdLineArgsArray change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -298,6 +298,12 @@ bool wxEntryStart(int& argc, wxChar **argv)
|
||||
return false;
|
||||
}
|
||||
|
||||
// remember, possibly modified (e.g. due to removal of toolkit-specific
|
||||
// parameters), command line arguments in member variables
|
||||
app->argc = argc;
|
||||
app->argv = argv;
|
||||
|
||||
|
||||
wxCallAppCleanup callAppCleanup(app.get());
|
||||
|
||||
// for compatibility call the old initialization function too
|
||||
|
||||
Reference in New Issue
Block a user