X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..b99891b0c8153704a9772ec8a60d548de86c531d:/include/wx/xrc/xh_statbar.h diff --git a/include/wx/xrc/xh_statbar.h b/include/wx/xrc/xh_statbar.h index dfbd2526fa..1a2787b125 100644 --- a/include/wx/xrc/xh_statbar.h +++ b/include/wx/xrc/xh_statbar.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_statbar.h +// Name: wx/xrc/xh_statbar.h // Purpose: XML resource handler for wxStatusBar // Author: Brian Ravnsgaard Riis // Created: 2004/01/21 @@ -13,14 +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 // _WX_XH_STATBAR_H_ +#endif // wxUSE_XRC && wxUSE_STATUSBAR +#endif // _WX_XH_STATBAR_H_