X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/xrc/xh_bmpbt.h diff --git a/include/wx/xrc/xh_bmpbt.h b/include/wx/xrc/xh_bmpbt.h index c44c9ea571..7fcc100de0 100644 --- a/include/wx/xrc/xh_bmpbt.h +++ b/include/wx/xrc/xh_bmpbt.h @@ -3,7 +3,6 @@ // Purpose: XML resource handler for bitmap buttons // Author: Brian Gavin // Created: 2000/03/05 -// RCS-ID: $Id$ // Copyright: (c) 2000 Brian Gavin // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -11,22 +10,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_