diff --git a/include/wx/rtti.h b/include/wx/rtti.h index 565667879c..fcd463e869 100644 --- a/include/wx/rtti.h +++ b/include/wx/rtti.h @@ -144,7 +144,7 @@ WXDLLIMPEXP_BASE wxObject *wxCreateDynamicObject(const wxString& name); static wxObject* wxCreateObject() #define wxDECLARE_CLASS(name) \ - wxDECLARE_DYNAMIC_CLASS(name) + wxDECLARE_ABSTRACT_CLASS(name) // common part of the macros below diff --git a/interface/wx/object.h b/interface/wx/object.h index 90435866f2..dbe8a5bfba 100644 --- a/interface/wx/object.h +++ b/interface/wx/object.h @@ -708,7 +708,9 @@ public: /** Used inside a class declaration to declare that the class should be made known to the class hierarchy, but objects of this class cannot be created - dynamically. The same as wxDECLARE_DYNAMIC_CLASS(). + dynamically. + + The same as wxDECLARE_ABSTRACT_CLASS(). @header{wx/object.h} */