]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for STL build; also don't pass unknown string potentially containing...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 8 Jan 2008 00:32:35 +0000 (00:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 8 Jan 2008 00:32:35 +0000 (00:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/crashrpt.cpp

index d1a372467de968562020a83fdcd85de816ab85a0..d2a303abbe0dffa90cac70c6ce1042c5f2167dee 100644 (file)
@@ -227,7 +227,7 @@ bool wxCrashReportImpl::Generate(int flags, EXCEPTION_POINTERS *ep)
     }
     else // dbghelp.dll couldn't be loaded
     {
-        Output(wxDbgHelpDLL::GetErrorMessage());
+        Output(_T("%s"), wxDbgHelpDLL::GetErrorMessage().c_str());
     }
 #else // !wxUSE_DBGHELP
     wxUnusedVar(flags);