]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_cald.cpp
define WX_XTI_TEMPLATE_FIX in case it is not yet
[wxWidgets.git] / contrib / src / xrc / xh_cald.cpp
index 861928fb96252e868b4245c23c78859b49f58974..15c58fc79714b48c774cece0c08508554c2d3506 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"
 
+IMPLEMENT_DYNAMIC_CLASS(wxCalendarCtrlXmlHandler, wxXmlResourceHandler)
 
 wxCalendarCtrlXmlHandler::wxCalendarCtrlXmlHandler() 
 : wxXmlResourceHandler() 
@@ -57,3 +62,5 @@ bool wxCalendarCtrlXmlHandler::CanHandle(wxXmlNode *node)
 {
     return IsOfClass(node, wxT("wxCalendarCtrl"));
 }
+
+#endif