Unicode compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-01-06 21:44:44 +00:00
parent b7d4a1b0aa
commit 5ad1f9028d

View File

@ -123,7 +123,8 @@ gs_testData[] =
// fails in the diagnostic message
static std::string Nth(size_t n)
{
return wxString::Format(_T("for loop index %lu"), (unsigned long)n).mb_str();
return std::string(wxString::Format(_T("for loop index %lu"),
(unsigned long)n).mb_str());
}
// ----------------------------------------------------------------------------