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