X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85149efad7fc85798de59e8a680616aa5ad85ffb..e80edb8515cc574f8ad264f47bd9cfe9501cfc97:/include/wx/object.h diff --git a/include/wx/object.h b/include/wx/object.h index b181ed0a84..0123f40fb6 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -65,7 +65,8 @@ public: ~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