X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e0d594d1abd1818f59ff7b16be828b16fe11d50..93f467a3b4d1eda959b44cc01df34b4463383cfe:/src/common/object.cpp diff --git a/src/common/object.cpp b/src/common/object.cpp index 4ebc1cc9c6..8f49548b59 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -65,10 +65,8 @@ const wxClassInfo* wxObject::sm_classParentswxObject[] = { NULL } ; template<> void wxStringWriteValue(wxString & , wxObject* const & ){assert(0) ;} template<> void wxStringReadValue(const wxString & , wxObject & ){assert(0) ;} template<> void wxStringWriteValue(wxString & , wxObject const & ){assert(0) ;} - template<> const wxTypeInfo* wxGetTypeInfo( wxObject ** ) - { static wxClassTypeInfo s_typeInfo(wxT_OBJECT_PTR , &wxObject::sm_classwxObject) ; return &s_typeInfo ; } - template<> const wxTypeInfo* wxGetTypeInfo( wxObject * ) - { static wxClassTypeInfo s_typeInfo(wxT_OBJECT , &wxObject::sm_classwxObject) ; return &s_typeInfo ; } + wxClassTypeInfo s_typeInfo(wxT_OBJECT_PTR , &wxObject::sm_classwxObject , NULL , NULL , typeid(wxObject*).name() ) ; + wxClassTypeInfo s_typeInfowxObject(wxT_OBJECT , &wxObject::sm_classwxObject , NULL , NULL , typeid(wxObject).name() ) ; #else wxClassInfo wxObject::sm_classwxObject( wxT("wxObject"), 0, 0, (int) sizeof(wxObject),