X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d76a558d4d5216b0590907b92d3182f82057c1ae..0c1cc9483ecba053bc9a0983a4a8d48898e334f2:/src/msw/main.cpp

diff --git a/src/msw/main.cpp b/src/msw/main.cpp
index 80c14d917a..2142d05ace 100644
--- a/src/msw/main.cpp
+++ b/src/msw/main.cpp
@@ -186,7 +186,7 @@ bool wxHandleFatalExceptions(bool doit)
         wxString name = wxString::Format
                         (
                             _T("%s_%s_%lu.dmp"),
-                            wxTheApp ? (const wxChar*)wxTheApp->GetAppName().c_str()
+                            wxTheApp ? (const wxChar*)wxTheApp->GetAppDisplayName().c_str()
                                      : _T("wxwindows"),
                             wxDateTime::Now().Format(_T("%Y%m%dT%H%M%S")).c_str(),
                             ::GetCurrentProcessId()
@@ -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