From: Vadim Zeitlin Date: Fri, 6 Jan 2006 21:44:44 +0000 (+0000) Subject: Unicode compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5ad1f9028d85a57f67036cb131b2ae884f98a0a3 Unicode compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/strings/tokenizer.cpp b/tests/strings/tokenizer.cpp index f694339c2b..056855f12c 100644 --- a/tests/strings/tokenizer.cpp +++ b/tests/strings/tokenizer.cpp @@ -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()); } // ----------------------------------------------------------------------------