diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 81f0e249fa..0c1edb6856 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -577,7 +577,7 @@ public: // ------------------------------------------------------------------------ // default ctor does not initialize the object, use Set()! - wxDateTime() { m_time = wxLongLong(INT_MIN, 0); } + wxDateTime() { m_time = wxLongLong((wxInt32)UINT_MAX, UINT_MAX); } // from time_t: seconds since the Epoch 00:00:00 UTC, Jan 1, 1970) #if (!(defined(__VISAGECPP__) && __IBMCPP__ >= 400))