X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/544fee32eeac1a4f6ca3e0c7c1b13ee24f1d1c1c..3fcea4b10b4b47a4ae57b84552db88da8d036044:/src/xrc/xh_cald.cpp diff --git a/src/xrc/xh_cald.cpp b/src/xrc/xh_cald.cpp index 861928fb96..70359323c9 100644 --- a/src/xrc/xh_cald.cpp +++ b/src/xrc/xh_cald.cpp @@ -19,6 +19,10 @@ #pragma hdrstop #endif +#include "wx/setup.h" + +#if wxUSE_CALENDARCTRL + #include "wx/xrc/xh_cald.h" #include "wx/event.h" #include "wx/calctrl.h" @@ -57,3 +61,5 @@ bool wxCalendarCtrlXmlHandler::CanHandle(wxXmlNode *node) { return IsOfClass(node, wxT("wxCalendarCtrl")); } + +#endif