X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec376c8fd9ff813392030426acd2317c6fa6527e..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/xrc/xh_fontpicker.h diff --git a/include/wx/xrc/xh_fontpicker.h b/include/wx/xrc/xh_fontpicker.h index a6d165971f..481adfb74e 100644 --- a/include/wx/xrc/xh_fontpicker.h +++ b/include/wx/xrc/xh_fontpicker.h @@ -1,9 +1,8 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: 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$ // Copyright: (c) 2006 Francesco Montorsi // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -13,17 +12,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_