X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05fa251a2f0eb98997094e733c0873ddd89050a9..4c663122e48dfd9eca0170b0e56541efc211c996:/src/common/object.cpp diff --git a/src/common/object.cpp b/src/common/object.cpp index 93a6437fc3..622569f308 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -51,9 +51,9 @@ #if wxUSE_EXTENDED_RTTI const wxClassInfo* wxObject::ms_classParents[] = { NULL } ; wxObject* wxVariantToObjectConverterwxObject ( wxxVariant &data ) -{ return data.Get() ; } +{ return data.wxTEMPLATED_MEMBER_CALL(Get , wxObject*) ; } wxObject* wxVariantOfPtrToObjectConverterwxObject ( wxxVariant &data ) -{ return &data.Get() ; } +{ return &data.wxTEMPLATED_MEMBER_CALL(Get , wxObject) ; } wxxVariant wxObjectToVariantConverterwxObject ( wxObject *data ) { return wxxVariant( dynamic_cast (data) ) ; } wxClassInfo wxObject::ms_classInfo(ms_classParents , wxT("") , wxT("wxObject"),