X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/310e47b3be75a405f709e9fc2f7242ede95758fb..6968a3b87cee46f5c5af9b46e1ef97f17133cef7:/include/wx/xrc/xh_datectrl.h diff --git a/include/wx/xrc/xh_datectrl.h b/include/wx/xrc/xh_datectrl.h index 5b1fdd0eda..57d554477b 100644 --- a/include/wx/xrc/xh_datectrl.h +++ b/include/wx/xrc/xh_datectrl.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: xh_datectrl.h +// Name: wx/xrc/xh_datectrl.h // Purpose: XML resource handler for wxDatePickerCtrl // Author: Vaclav Slavik // Created: 2005-02-07 @@ -11,19 +11,20 @@ #ifndef _WX_XH_DATECTRL_H_ #define _WX_XH_DATECTRL_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "xh_datectrl.h" -#endif - #include "wx/xrc/xmlres.h" +#if wxUSE_XRC && wxUSE_DATEPICKCTRL + class WXDLLIMPEXP_XRC wxDateCtrlXmlHandler : public wxXmlResourceHandler { -DECLARE_DYNAMIC_CLASS(wxDateCtrlXmlHandler) + DECLARE_DYNAMIC_CLASS(wxDateCtrlXmlHandler) + public: wxDateCtrlXmlHandler(); virtual wxObject *DoCreateResource(); virtual bool CanHandle(wxXmlNode *node); }; +#endif // wxUSE_XRC && wxUSE_DATEPICKCTRL + #endif // _WX_XH_DATECTRL_H_