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
This commit is contained in:
parent
a67e6e5438
commit
f124ddf450
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user