X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85149efad7fc85798de59e8a680616aa5ad85ffb..2388d9b331a37bbab59db42e06bc8a05380fb813:/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