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() {