From c45b7e75d1833c93200ca2d4e518954e48ec936e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 26 Jan 2004 20:01:30 +0000 Subject: [PATCH] Added RTTI git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/xrc/xh_statbar.h | 1 + contrib/src/xrc/xh_statbar.cpp | 2 ++ include/wx/xrc/xh_statbar.h | 1 + src/xrc/xh_statbar.cpp | 2 ++ 4 files changed, 6 insertions(+) diff --git a/contrib/include/wx/xrc/xh_statbar.h b/contrib/include/wx/xrc/xh_statbar.h index c1224c0710..909a60f639 100644 --- a/contrib/include/wx/xrc/xh_statbar.h +++ b/contrib/include/wx/xrc/xh_statbar.h @@ -19,6 +19,7 @@ class WXDLLIMPEXP_XRC wxStatusBarXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxStatusBarXmlHandler) public: wxStatusBarXmlHandler(); virtual wxObject *DoCreateResource(); diff --git a/contrib/src/xrc/xh_statbar.cpp b/contrib/src/xrc/xh_statbar.cpp index d69735c63b..ef9f2e19c2 100644 --- a/contrib/src/xrc/xh_statbar.cpp +++ b/contrib/src/xrc/xh_statbar.cpp @@ -27,6 +27,8 @@ #include "wx/xrc/xh_statbar.h" #include "wx/statusbr.h" +IMPLEMENT_DYNAMIC_CLASS(wxStatusBarXmlHandler, wxXmlResourceHandler) + wxStatusBarXmlHandler::wxStatusBarXmlHandler() : wxXmlResourceHandler() { diff --git a/include/wx/xrc/xh_statbar.h b/include/wx/xrc/xh_statbar.h index c1224c0710..909a60f639 100644 --- a/include/wx/xrc/xh_statbar.h +++ b/include/wx/xrc/xh_statbar.h @@ -19,6 +19,7 @@ class WXDLLIMPEXP_XRC wxStatusBarXmlHandler : public wxXmlResourceHandler { +DECLARE_DYNAMIC_CLASS(wxStatusBarXmlHandler) public: wxStatusBarXmlHandler(); virtual wxObject *DoCreateResource(); diff --git a/src/xrc/xh_statbar.cpp b/src/xrc/xh_statbar.cpp index d69735c63b..ef9f2e19c2 100644 --- a/src/xrc/xh_statbar.cpp +++ b/src/xrc/xh_statbar.cpp @@ -27,6 +27,8 @@ #include "wx/xrc/xh_statbar.h" #include "wx/statusbr.h" +IMPLEMENT_DYNAMIC_CLASS(wxStatusBarXmlHandler, wxXmlResourceHandler) + wxStatusBarXmlHandler::wxStatusBarXmlHandler() : wxXmlResourceHandler() { -- 2.45.2