]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/strings/tokenizer.cpp
Applied patch [ 1331340 ] faster Drawing of Polygons and Polylines
[wxWidgets.git] / tests / strings / tokenizer.cpp
index f694339c2b5bdd5778ab9a76b2e7e7d7b02d9c63..056855f12c621502d9d2c70f1e71c021228b0536 100644 (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());
 }
 
 // ----------------------------------------------------------------------------