]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datetime.cpp
make it possible to use wxToolBarSimple as wxToolBar with wxUniv
[wxWidgets.git] / src / common / datetime.cpp
index 02ab38450cd3c37ac09b1d38d763f5ab63b7dea4..ab397e793ca9bb6d4582abba31fa08d77ee428c8 100644 (file)
@@ -63,6 +63,8 @@
     #pragma hdrstop
 #endif
 
+#if !defined(wxUSE_DATETIME) || wxUSE_DATETIME
+
 #ifndef WX_PRECOMP
     #include "wx/string.h"
     #include "wx/intl.h"
@@ -3711,4 +3713,4 @@ size_t wxDateTimeWorkDays::DoGetHolidaysInRange(const wxDateTime& dtStart,
     return holidays.GetCount();
 }
 
-
+#endif // wxUSE_DATETIME