X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d26adb9df7d83c7c1280afdc22679978fba3ff90..fb5246bead0df931f25bd73c9a03c356b180fcd1:/include/wx/datetime.h diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 5e6f63d698..902ee247bf 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -13,10 +13,6 @@ #ifndef _WX_DATETIME_H #define _WX_DATETIME_H -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "datetime.h" -#endif - #include "wx/defs.h" #if wxUSE_DATETIME @@ -773,12 +769,10 @@ public: inline wxDateTime ToTimezone(const TimeZone& tz, bool noDST = false) const; wxDateTime& MakeTimezone(const TimeZone& tz, bool noDST = false); -#if wxABI_VERSION >= 20602 // interpret current value as being in another timezone and transform // it to local one inline wxDateTime FromTimezone(const TimeZone& tz, bool noDST = false) const; wxDateTime& MakeFromTimezone(const TimeZone& tz, bool noDST = false); -#endif // ABI >= 2.6.2 // transform to/from GMT/UTC wxDateTime ToUTC(bool noDST = false) const { return ToTimezone(UTC, noDST); } @@ -787,12 +781,10 @@ public: wxDateTime ToGMT(bool noDST = false) const { return ToUTC(noDST); } wxDateTime& MakeGMT(bool noDST = false) { return MakeUTC(noDST); } -#if wxABI_VERSION >= 20602 wxDateTime FromUTC(bool noDST = false) const { return FromTimezone(UTC, noDST); } wxDateTime& MakeFromUTC(bool noDST = false) { return MakeFromTimezone(UTC, noDST); } -#endif // ABI >= 2.6.2 // is daylight savings time in effect at this moment according to the // rules of the specified country? @@ -1862,16 +1854,12 @@ wxDateTime::ToTimezone(const wxDateTime::TimeZone& tz, bool noDST) const MODIFY_AND_RETURN( MakeTimezone(tz, noDST) ); } -#if wxABI_VERSION >= 20602 - inline wxDateTime wxDateTime::FromTimezone(const wxDateTime::TimeZone& tz, bool noDST) const { MODIFY_AND_RETURN( MakeFromTimezone(tz, noDST) ); } -#endif // ABI >= 2.6.2 - // ---------------------------------------------------------------------------- // wxTimeSpan construction // ----------------------------------------------------------------------------