X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..9243700fb212c2508c4d4c80fb8eb968e565e44d:/include/wx/xrc/xh_scrol.h?ds=sidebyside diff --git a/include/wx/xrc/xh_scrol.h b/include/wx/xrc/xh_scrol.h index bc3f8a1c8f..3f2899045e 100644 --- a/include/wx/xrc/xh_scrol.h +++ b/include/wx/xrc/xh_scrol.h @@ -12,9 +12,8 @@ #define _WX_XH_SCROL_H_ #include "wx/xrc/xmlres.h" -#include "wx/defs.h" - +#if wxUSE_XRC && wxUSE_SCROLLBAR class WXDLLIMPEXP_XRC wxScrollBarXmlHandler : public wxXmlResourceHandler { @@ -32,5 +31,6 @@ public: virtual bool CanHandle(wxXmlNode *node); }; +#endif // wxUSE_XRC && wxUSE_SCROLLBAR #endif // _WX_XH_SCROL_H_