From 5cf69f76a10799e5e6eb1836cffeee11507e0788 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 31 Aug 2002 11:14:30 +0000 Subject: [PATCH] Added RTTI macros git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/valgen.h | 1 + src/common/valgen.cpp | 2 ++ 2 files changed, 3 insertions(+) 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(); -- 2.50.0