]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/variant.cpp
pressing PageDown and then PageUp should return to the same item
[wxWidgets.git] / 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;
 }