X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf6ae2907c365869b10b61cbe3bde2768facd4d8..245f35816d761212279e8cf223475efb7a367553:/src/common/variant.cpp 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; }