]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_datectrl.h
simplifications and corrections to background drawing:
[wxWidgets.git] / include / wx / xrc / xh_datectrl.h
index 5b1fdd0eda7787eb059916bc8f7ab3e8a768701b..67ccfcbd59bc79d28f3e0ea13bdb82066851f77b 100644 (file)
@@ -17,6 +17,8 @@
 
 #include "wx/xrc/xmlres.h"
 
+#if wxUSE_DATEPICKCTRL
+
 class WXDLLIMPEXP_XRC wxDateCtrlXmlHandler : public wxXmlResourceHandler
 {
 DECLARE_DYNAMIC_CLASS(wxDateCtrlXmlHandler)
@@ -26,4 +28,6 @@ public:
     virtual bool CanHandle(wxXmlNode *node);
 };
 
+#endif // wxUSE_DATEPICKCTRL
+
 #endif // _WX_XH_DATECTRL_H_