From: Julian Smart Date: Sat, 31 Aug 2002 11:14:30 +0000 (+0000) Subject: Added RTTI macros X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5cf69f76a10799e5e6eb1836cffeee11507e0788?ds=inline Added RTTI macros git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/valgen.h b/include/wx/valgen.h index 1dbcdb62ec..6e2e80b20b 100644 --- a/include/wx/valgen.h +++ b/include/wx/valgen.h @@ -22,6 +22,7 @@ class WXDLLEXPORT wxGenericValidator: public wxValidator { +DECLARE_CLASS(wxGenericValidator) public: wxGenericValidator(bool* val); wxGenericValidator(int* val); diff --git a/src/common/valgen.cpp b/src/common/valgen.cpp index d6fc453323..b4814ac7b0 100644 --- a/src/common/valgen.cpp +++ b/src/common/valgen.cpp @@ -56,6 +56,8 @@ #include "wx/valgen.h" +IMPLEMENT_CLASS(wxGenericValidator, wxValidator) + wxGenericValidator::wxGenericValidator(bool *val) { Initialize();