From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Mon, 6 Jun 2005 11:52:24 +0000 (+0000) Subject: DECLARE_DYNAMIC_CLASS() requires a default ctor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f3886d3710769ae1edfd80df6e5601ab52bb861a DECLARE_DYNAMIC_CLASS() requires a default ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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: