From: Václav Slavík Date: Mon, 2 Apr 2007 05:33:37 +0000 (+0000) Subject: GetBaseByName doesn't exist anymore X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1125dc3f5cd23453ac8d321817436e5e7f1da923 GetBaseByName doesn't exist anymore git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/object.h b/include/wx/object.h index 8e01743039..a1d021fa91 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -99,7 +99,7 @@ public: int m_objectSize; wxObjectConstructorFn m_objectConstructor; - // Pointers to base wxClassInfos: set in InitializeClasses + // Pointers to base wxClassInfos const wxClassInfo *m_baseInfo1; const wxClassInfo *m_baseInfo2; @@ -114,16 +114,12 @@ public: // many clients) static wxHashTable *sm_classTable; -private: - // InitializeClasses() helper - static wxClassInfo *GetBaseByName(const wxChar *name); - - DECLARE_NO_COPY_CLASS(wxClassInfo) - protected: // registers the class void Register(); void Unregister(); + + DECLARE_NO_COPY_CLASS(wxClassInfo) }; WXDLLIMPEXP_BASE wxObject *wxCreateDynamicObject(const wxChar *name); diff --git a/include/wx/xti.h b/include/wx/xti.h index f0ddc31b60..7b2be4c003 100644 --- a/include/wx/xti.h +++ b/include/wx/xti.h @@ -1810,10 +1810,6 @@ private: wxObjectStreamingCallback m_streamingCallback ; const wxPropertyAccessor *FindAccessor (const wxChar *propertyName) const ; - - // InitializeClasses() helper - static wxClassInfo *GetBaseByName(const wxChar *name) ; - protected: // registers the class void Register();