]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_datectrl.cpp
Commited fix for HP compiler in raw bitmap code.
[wxWidgets.git] / src / xrc / xh_datectrl.cpp
index 5ab0fa49dc71f30c7382d70daf1027b8415b4ad1..36b31266bdb15f9dd2d8f1ae404b509b637845d4 100644 (file)
@@ -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