X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d76a558d4d5216b0590907b92d3182f82057c1ae..d16619f8d0f0a3bff7dd51cf57d1ba0f70176309:/src/msw/main.cpp diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 80c14d917a..583460c7b1 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -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