From: Vadim Zeitlin Date: Tue, 3 Jun 2003 10:51:52 +0000 (+0000) Subject: use c_str() instead of mb_str() with wxString::Printf() (patch 747903) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f124ddf4502341eb60d41d27da7f24f4ae9fd25c use c_str() instead of mb_str() with wxString::Printf() (patch 747903) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/variant.cpp b/src/common/variant.cpp index 1d99a6f09a..d2dd9665ba 100644 --- a/src/common/variant.cpp +++ b/src/common/variant.cpp @@ -991,7 +991,7 @@ bool wxVariantDataWxObjectPtr::Write(wxSTD ostream& str) const bool wxVariantDataWxObjectPtr::Write(wxString& str) const { - str.Printf(wxT("%s(%ld)"), GetType().mb_str() ,(long) m_value); + str.Printf(wxT("%s(%ld)"), GetType().c_str(), (long) m_value); return TRUE; }