X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/310e47b3be75a405f709e9fc2f7242ede95758fb..c3732409acc7a1e0b3cdb1f0a5dec7cc49a4b28b:/include/wx/xrc/xh_datectrl.h diff --git a/include/wx/xrc/xh_datectrl.h b/include/wx/xrc/xh_datectrl.h index 5b1fdd0eda..67ccfcbd59 100644 --- a/include/wx/xrc/xh_datectrl.h +++ b/include/wx/xrc/xh_datectrl.h @@ -17,6 +17,8 @@ #include "wx/xrc/xmlres.h" +#if wxUSE_DATEPICKCTRL + class WXDLLIMPEXP_XRC wxDateCtrlXmlHandler : public wxXmlResourceHandler { DECLARE_DYNAMIC_CLASS(wxDateCtrlXmlHandler) @@ -26,4 +28,6 @@ public: virtual bool CanHandle(wxXmlNode *node); }; +#endif // wxUSE_DATEPICKCTRL + #endif // _WX_XH_DATECTRL_H_