X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/xrc/xh_bmp.h diff --git a/include/wx/xrc/xh_bmp.h b/include/wx/xrc/xh_bmp.h index 70b22eee29..ddc8cba440 100644 --- a/include/wx/xrc/xh_bmp.h +++ b/include/wx/xrc/xh_bmp.h @@ -3,7 +3,6 @@ // Purpose: XML resource handler for wxBitmap and wxIcon // Author: Vaclav Slavik // Created: 2000/09/00 -// RCS-ID: $Id$ // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -13,10 +12,12 @@ #include "wx/xrc/xmlres.h" +#if wxUSE_XRC class WXDLLIMPEXP_XRC wxBitmapXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxBitmapXmlHandler) + DECLARE_DYNAMIC_CLASS(wxBitmapXmlHandler) + public: wxBitmapXmlHandler(); virtual wxObject *DoCreateResource(); @@ -25,12 +26,14 @@ public: class WXDLLIMPEXP_XRC wxIconXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxIconXmlHandler) + DECLARE_DYNAMIC_CLASS(wxIconXmlHandler) + public: wxIconXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; +#endif // wxUSE_XRC #endif // _WX_XH_BMP_H_