]> git.saurik.com Git - wxWidgets.git/commitdiff
use c_str() instead of mb_str() with wxString::Printf() (patch 747903)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 Jun 2003 10:51:52 +0000 (10:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 Jun 2003 10:51:52 +0000 (10:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/variant.cpp

index 1d99a6f09a536b7818cea4b9e1d1ec66b77be14b..d2dd9665ba175f51435b6a0e47b6d8f28b286f68 100644 (file)
@@ -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;
 }