]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/variant.h
moved SetBestSize() to .cpp file; set min size from it
[wxWidgets.git] / include / wx / variant.h
index 569793c5d3e16a3a08046860f36f303e2b4f4846..ef70b0e3ae5103a2016403fdb90c1d40be375d4b 100644 (file)
@@ -282,7 +282,7 @@ protected:
 //a dynamic_cast /wxDynamicCast analogue.
 
 #define wxGetVariantCast(var,classname) \
 //a dynamic_cast /wxDynamicCast analogue.
 
 #define wxGetVariantCast(var,classname) \
-       ((classname*)(var.IsValueKindOf(&classname::sm_class##classname) ?\
+       ((classname*)(var.IsValueKindOf(&classname::ms_classInfo) ?\
                      var.GetWxObjectPtr() : NULL));
 
 extern wxVariant WXDLLIMPEXP_BASE wxNullVariant;
                      var.GetWxObjectPtr() : NULL));
 
 extern wxVariant WXDLLIMPEXP_BASE wxNullVariant;