From 49297c840b6151d280b5747460383bc220e03a6a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 15 Sep 2007 00:18:56 +0000 Subject: [PATCH] use wxSafeConvertWX2MB() instead of mb_str() in operator<<(wxString) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cppunit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.45.2