X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7f9a482ec133654eac39cde8d736c0476fd4a46..7aa5864467bf0bb220fdc447876f13f178ae8f35:/src/common/datetime.cpp diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 02ab38450c..ab397e793c 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -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