]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/variant.cpp
wxPickerBase derives from wxControl, not wxWindow
[wxWidgets.git] / src / common / variant.cpp
index a1e7f8a8c371eaf6d7e20ea8708ef79f45264134..06ef8faf227e71641815f8924d555940a18227eb 100644 (file)
@@ -985,7 +985,7 @@ bool wxVariantDataWxObjectPtr::Write(wxSTD ostream& str) const
 
 bool wxVariantDataWxObjectPtr::Write(wxString& str) const
 {
-    str.Printf(wxT("%s(%p)"), GetType().c_str(), m_value);
+    str.Printf(wxT("%s(%p)"), GetType().c_str(), wx_static_cast(void*, m_value));
     return true;
 }