X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/310e47b3be75a405f709e9fc2f7242ede95758fb..f9a2692dbe8db32938121899073abef4d07dee13:/src/xrc/xh_datectrl.cpp diff --git a/src/xrc/xh_datectrl.cpp b/src/xrc/xh_datectrl.cpp index 5ab0fa49dc..36b31266bd 100644 --- a/src/xrc/xh_datectrl.cpp +++ b/src/xrc/xh_datectrl.cpp @@ -19,7 +19,7 @@ #pragma hdrstop #endif -#if wxUSE_XRC +#if wxUSE_XRC && wxUSE_DATEPICKCTRL #include "wx/xrc/xh_datectrl.h" #include "wx/datectrl.h" @@ -57,4 +57,4 @@ bool wxDateCtrlXmlHandler::CanHandle(wxXmlNode *node) return IsOfClass(node, wxT("wxDatePickerCtrl")); } -#endif // wxUSE_XRC +#endif // wxUSE_XRC && wxUSE_DATEPICKCTRL