X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..c534e69669840e016d9e109356d8839302bb95db:/include/wx/xrc/xh_statbar.h?ds=sidebyside 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_