DECLARE_DYNAMIC_CLASS() requires a default ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-06-06 11:52:24 +00:00
parent 36a22fa34c
commit f3886d3710

View File

@@ -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: