Fix wxIMPLEMENT_CLASS documentation

It is a synonym for wxIMPLEMENT_ABSTRACT_CLASS and not
wxIMPLEMENT_DYNAMIC_CLASS as it was wrongly stated.

Also avoid duplicating the documentation of the other macro and just
refer to it instead.
This commit is contained in:
Vadim Zeitlin 2017-08-25 13:17:12 +02:00
parent de9b6fdc9e
commit 4ddc7a7f4a

View File

@ -772,18 +772,20 @@ public:
#define wxIMPLEMENT_DYNAMIC_CLASS2( className, baseClassName1, baseClassName2 )
/**
Used in a C++ implementation file to complete the declaration of a class
that has run-time type information, and whose instances can be created
dynamically. The same as wxIMPLEMENT_DYNAMIC_CLASS().
Synonym for wxIMPLEMENT_ABSTRACT_CLASS().
Please prefer to use the more clear, if longer,
::wxIMPLEMENT_ABSTRACT_CLASS in the new code.
@header{wx/object.h}
*/
#define wxIMPLEMENT_CLASS( className, baseClassName )
/**
Used in a C++ implementation file to complete the declaration of a class
that has run-time type information and two base classes, and whose instances
can be created dynamically. The same as wxIMPLEMENT_DYNAMIC_CLASS2().
Synonym for wxIMPLEMENT_ABSTRACT_CLASS2().
Please prefer to use the more clear, if longer,
::wxIMPLEMENT_ABSTRACT_CLASS2 in the new code.
@header{wx/object.h}
*/