]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
don't test sei.hInstApp in DoLaunchDefaultBrowser(), just look at ShellExecuteEx...
[wxWidgets.git] / src / common / init.cpp
index adb68c947c9f1466c3dab4b37dd6065b4dc95658..ee3847634f00efa2d81bcb31d09d7ec3d8b9f54c 100644 (file)
@@ -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