X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/807d848702772c7dc59e7a2bb35b2971ad86a64d..ab4fece809e006a55c61361dadb63aca87ccb0d8:/include/wx/object.h diff --git a/include/wx/object.h b/include/wx/object.h index 8ea419a4be..d0eb3167f3 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -122,12 +122,17 @@ public: static wxClassInfo *sm_first; wxClassInfo *m_next; + // FIXME: this should be private (currently used directly by way too + // many clients) static wxHashTable *sm_classTable; + +private: + // InitializeClasses() helper + static wxClassInfo *GetBaseByName(const wxChar *name); }; WXDLLEXPORT wxObject *wxCreateDynamicObject(const wxChar *name); - // ---------------------------------------------------------------------------- // Dynamic class macros // ---------------------------------------------------------------------------- @@ -407,7 +412,7 @@ protected: virtual wxObjectRefData *CreateRefData() const; // create a new m_refData initialized with the given one - virtual wxObjectRefData *CloneRefData(wxObjectRefData *data) const; + virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const; wxObjectRefData *m_refData; };