diff --git a/include/wx/cppunit.h b/include/wx/cppunit.h index 7d69ef0be6..d961039112 100644 --- a/include/wx/cppunit.h +++ b/include/wx/cppunit.h @@ -91,7 +91,7 @@ inline std::ostream& operator<<(std::ostream& o, const wxString& s) { - return o << s.mb_str(); + return o << wxSafeConvertWX2MB(s); }