]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/main.cpp
don't try to access empty wxIconBundle in gtk_frame_realized_callback
[wxWidgets.git] / src / msw / main.cpp
index 7abc2842decf740f4502aa921c87b87fc2c15b86..ef89ba10616be97e3f1d858a0b029272e6b35085 100644 (file)
@@ -185,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()