X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..a703012aedeb8064c8294c6aeeea95e6950ad170:/include/wx/xrc/xh_fontpicker.h diff --git a/include/wx/xrc/xh_fontpicker.h b/include/wx/xrc/xh_fontpicker.h index 7ea0c9bb4b..d0dc8e915f 100644 --- a/include/wx/xrc/xh_fontpicker.h +++ b/include/wx/xrc/xh_fontpicker.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/xrc/xh_clrpicker.cpp -// Purpose: XML resource handler for wxColourPickerCtrl +// Name: wx/xrc/xh_fontpicker.h +// Purpose: XML resource handler for wxFontPickerCtrl // Author: Francesco Montorsi // Created: 2006-04-17 // RCS-ID: $Id$ @@ -13,17 +13,18 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_FONTPICKERCTRL +#if wxUSE_XRC && wxUSE_FONTPICKERCTRL class WXDLLIMPEXP_XRC wxFontPickerCtrlXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxFontPickerCtrlXmlHandler) + DECLARE_DYNAMIC_CLASS(wxFontPickerCtrlXmlHandler) + public: wxFontPickerCtrlXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; -#endif // wxUSE_FONTPICKERCTRL +#endif // wxUSE_XRC && wxUSE_FONTPICKERCTRL #endif // _WX_XH_FONTPICKERCTRL_H_