X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..508bd1654f3eb44327fb84ecd2e2181959dac13b:/include/wx/xrc/xh_clrpicker.h diff --git a/include/wx/xrc/xh_clrpicker.h b/include/wx/xrc/xh_clrpicker.h index fb364c41a8..dfaa356b40 100644 --- a/include/wx/xrc/xh_clrpicker.h +++ b/include/wx/xrc/xh_clrpicker.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/xrc/xh_clrpicker.cpp +// Name: wx/xrc/xh_clrpicker.h // Purpose: XML resource handler for wxColourPickerCtrl // Author: Francesco Montorsi // Created: 2006-04-17 @@ -13,17 +13,18 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_COLOURPICKERCTRL +#if wxUSE_XRC && wxUSE_COLOURPICKERCTRL class WXDLLIMPEXP_XRC wxColourPickerCtrlXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxColourPickerCtrlXmlHandler) + DECLARE_DYNAMIC_CLASS(wxColourPickerCtrlXmlHandler) + public: wxColourPickerCtrlXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; -#endif // wxUSE_COLOURPICKERCTRL +#endif // wxUSE_XRC && wxUSE_COLOURPICKERCTRL #endif // _WX_XH_CLRPICKERCTRL_H_