From f124ddf4502341eb60d41d27da7f24f4ae9fd25c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 3 Jun 2003 10:51:52 +0000 Subject: [PATCH] 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 --- src/common/variant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.45.2