compilation fix for STL build; also don't pass unknown string potentially containing percent signs to printf-like functions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-01-08 00:32:35 +00:00
parent 7fc2ce00f7
commit 9a95832822

View 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);