From 5ad1f9028d85a57f67036cb131b2ae884f98a0a3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 6 Jan 2006 21:44:44 +0000 Subject: [PATCH] Unicode compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/strings/tokenizer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); } // ---------------------------------------------------------------------------- -- 2.49.0