]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cppunit.h
PCH-less compilation fix
[wxWidgets.git] / include / wx / cppunit.h
index 7d69ef0be659cdf0c3def410251dd9b623101d08..32bf79fd92328cdc7d1bb78b80a8b37776613c0d 100644 (file)
@@ -91,7 +91,7 @@
 
 inline std::ostream& operator<<(std::ostream& o, const wxString& s)
 {
-    return o << s.mb_str();
+    return o << (const char *)wxSafeConvertWX2MB(s);
 }