Previously wxDECLARE_CLASS was a synonym for wxDECLARE_DYNAMIC_CLASS which was
inconsistent with its documentation and wxIMPLEMENT_CLASS that was the same as
wxIMPLEMENT_ABSTRACT_CLASS.
Resolve this in the most backwards compatible and also arguably logical way.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67879
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
static wxObject* wxCreateObject()
#define wxDECLARE_CLASS(name) \
- wxDECLARE_DYNAMIC_CLASS(name)
+ wxDECLARE_ABSTRACT_CLASS(name)
// common part of the macros below
/**
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}
*/