]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/main.cpp
in wxAuiNotebook, prevent unwanted page selection changes during tab drags
[wxWidgets.git] / src / msw / main.cpp
index 80c14d917a6733d593ccb8103f901c4d322e2f55..583460c7b19a8fa8a197625406f20716a74b1879 100644 (file)
@@ -332,7 +332,7 @@ struct wxMSWCommandLineArguments
         argv = new wxChar *[argc + 1];
         for ( int i = 0; i < argc; i++ )
         {
-            argv[i] = wxStrdup(args[i]);
+            argv[i] = wxStrdup(args[i].wx_str());
         }
 
         // argv[] must be NULL-terminated