From 4ddc7a7f4a229bd05e7271a45b2dd2e071651149 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 25 Aug 2017 13:17:12 +0200 Subject: [PATCH] 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. --- interface/wx/object.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/interface/wx/object.h b/interface/wx/object.h index b118edb38c..3f17dcf264 100644 --- a/interface/wx/object.h +++ b/interface/wx/object.h @@ -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} */