X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8a793f06cc0abb9e2433b1fe518c836395c8b49..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/xrc/xh_datectrl.h diff --git a/include/wx/xrc/xh_datectrl.h b/include/wx/xrc/xh_datectrl.h index 336f3ec93e..e13c5c3676 100644 --- a/include/wx/xrc/xh_datectrl.h +++ b/include/wx/xrc/xh_datectrl.h @@ -3,7 +3,6 @@ // Purpose: XML resource handler for wxDatePickerCtrl // Author: Vaclav Slavik // Created: 2005-02-07 -// RCS-ID: $Id$ // Copyright: (c) 2005 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -13,17 +12,18 @@ #include "wx/xrc/xmlres.h" -#if wxUSE_DATEPICKCTRL +#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_DATEPICKCTRL +#endif // wxUSE_XRC && wxUSE_DATEPICKCTRL #endif // _WX_XH_DATECTRL_H_