X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..fc9361e3ec5b81a7e8c32d93a03aea0b2cd3e045:/include/wx/xrc/xh_bmpbt.h diff --git a/include/wx/xrc/xh_bmpbt.h b/include/wx/xrc/xh_bmpbt.h index c44c9ea571..ec72f2670a 100644 --- a/include/wx/xrc/xh_bmpbt.h +++ b/include/wx/xrc/xh_bmpbt.h @@ -11,22 +11,20 @@ #ifndef _WX_XH_BMPBT_H_ #define _WX_XH_BMPBT_H_ -#include "wx/defs.h" - -#if wxUSE_XRC - #include "wx/xrc/xmlres.h" +#if wxUSE_XRC && wxUSE_BMPBUTTON + class WXDLLIMPEXP_XRC wxBitmapButtonXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxBitmapButtonXmlHandler) + DECLARE_DYNAMIC_CLASS(wxBitmapButtonXmlHandler) + public: wxBitmapButtonXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; -#endif // wxUSE_XRC - +#endif // wxUSE_XRC && wxUSE_BMPBUTTON #endif // _WX_XH_BMPBT_H_