X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..b052a864e9d5270fd40f9ee6021133d2c3cd3173:/include/wx/xrc/xh_statbar.h diff --git a/include/wx/xrc/xh_statbar.h b/include/wx/xrc/xh_statbar.h index 9bd2c7d278..1a2787b125 100644 --- a/include/wx/xrc/xh_statbar.h +++ b/include/wx/xrc/xh_statbar.h @@ -13,13 +13,18 @@ #include "wx/xrc/xmlres.h" +#if wxUSE_XRC && wxUSE_STATUSBAR + class WXDLLIMPEXP_XRC wxStatusBarXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxStatusBarXmlHandler) - public: - wxStatusBarXmlHandler(); - virtual wxObject *DoCreateResource(); - virtual bool CanHandle(wxXmlNode *node); + DECLARE_DYNAMIC_CLASS(wxStatusBarXmlHandler) + +public: + wxStatusBarXmlHandler(); + virtual wxObject *DoCreateResource(); + virtual bool CanHandle(wxXmlNode *node); }; +#endif // wxUSE_XRC && wxUSE_STATUSBAR + #endif // _WX_XH_STATBAR_H_