]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_cald.cpp
don't try to remove -g flag from CFLAGS, it is not necessary and doesn't work correct...
[wxWidgets.git] / src / xrc / xh_cald.cpp
index 861928fb96252e868b4245c23c78859b49f58974..70359323c98e751cf9494c12feb779cd7e6cce62 100644 (file)
     #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