X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/310e47b3be75a405f709e9fc2f7242ede95758fb..070e8453c01ea19cff8f89136470b357cd0b8082:/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