~wxClassInfo();
- wxObject *CreateObject() { return m_objectConstructor ? (*m_objectConstructor)() : 0; }
+ wxObject *CreateObject() const { return m_objectConstructor ? (*m_objectConstructor)() : 0; }
+ bool IsDynamic() const { return (NULL != m_objectConstructor); }
const wxChar *GetClassName() const { return m_className; }
const wxChar *GetBaseClassName1() const
// Cleans up hash table used for fast searching.
wxDEPRECATED( static void CleanUpClasses() );
#endif
- static void CleanUp();
public:
const wxChar *m_className;
// destroy a reference
void UnRef();
-
- // Reserved for future use
- virtual void ReservedObjectFunc1() {}
- virtual void ReservedObjectFunc2() {}
- virtual void ReservedObjectFunc3() {}
- virtual void ReservedObjectFunc4() {}
- virtual void ReservedObjectFunc5() {}
- virtual void ReservedObjectFunc6() {}
- virtual void ReservedObjectFunc7() {}
- virtual void ReservedObjectFunc8() {}
- virtual void ReservedObjectFunc9() {}
-
protected:
// ensure that our data is not shared with anybody else: if we have no
// data, it is created using CreateRefData() below, if we have shared data
public:
// instantiates this object with an instance of its superclass
wxDynamicObject(wxObject* superClassInstance, const wxDynamicClassInfo *info) ;
- ~wxDynamicObject();
+ virtual ~wxDynamicObject();
void SetProperty (const wxChar *propertyName, const wxxVariant &value);
wxxVariant GetProperty (const wxChar *propertyName) const ;