From f3886d3710769ae1edfd80df6e5601ab52bb861a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 6 Jun 2005 11:52:24 +0000 Subject: [PATCH] DECLARE_DYNAMIC_CLASS() requires a default ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/function.tex | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 67937a6486..d0ccdcc7eb 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -3322,8 +3322,11 @@ dynamically. The same as DECLARE\_ABSTRACT\_CLASS. \func{}{DECLARE\_DYNAMIC\_CLASS}{className} -Used inside a class declaration to declare that the objects of this class should be dynamically -creatable from run-time type information. +Used inside a class declaration to make the class known to wxWidgets RTTI +system and also declare that the objects of this class should be dynamically +creatable from run-time type information. Notice that this implies that the +class should have a default constructor, if this is not the case consider using +\helpref{DECLARE\_CLASS}{declareclass}. Example: -- 2.45.2