X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..02b7b6b072762ff1e02950109a751815ac7429fd:/include/wx/variant.h diff --git a/include/wx/variant.h b/include/wx/variant.h index 569793c5d3..ef70b0e3ae 100644 --- a/include/wx/variant.h +++ b/include/wx/variant.h @@ -282,7 +282,7 @@ protected: //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;