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
// ----------------------------------------------------------------------------
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;
};