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();