X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23c06cde5df85dbfd94e92e90de225618191153f..f74a73b36509260f612770de2caeb084f1857e08:/src/msw/main.cpp diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 4676a2d241..ef89ba1061 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -27,6 +27,7 @@ #ifndef WX_PRECOMP #include "wx/event.h" #include "wx/app.h" + #include "wx/utils.h" #endif //WX_PRECOMP #include "wx/cmdline.h" @@ -184,7 +185,7 @@ bool wxHandleFatalExceptions(bool doit) wxString name = wxString::Format ( _T("%s_%s_%lu.dmp"), - wxTheApp ? wxTheApp->GetAppName().c_str() + wxTheApp ? (const wxChar*)wxTheApp->GetAppName().c_str() : _T("wxwindows"), wxDateTime::Now().Format(_T("%Y%m%dT%H%M%S")).c_str(), ::GetCurrentProcessId()