]> git.saurik.com Git - wxWidgets.git/commitdiff
use LLONG_MIN instead of -1 (which is a valid time value corresponding to 1ms before...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 24 Jan 2007 17:37:54 +0000 (17:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 24 Jan 2007 17:37:54 +0000 (17:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/datetime.h

index 2b88024a5ae26d7ddc25606f6e5ca3fbf719518e..d11c669bb10306175db1c2c350c06a27e37657b6 100644 (file)
@@ -564,7 +564,7 @@ public:
     // ------------------------------------------------------------------------
 
         // default ctor does not initialize the object, use Set()!
-    wxDateTime() { m_time = wxLongLong((long)ULONG_MAX, ULONG_MAX); }
+    wxDateTime() { m_time = wxLongLong(LONG_MIN, 0); }
 
         // from time_t: seconds since the Epoch 00:00:00 UTC, Jan 1, 1970)
 #if (!(defined(__VISAGECPP__) && __IBMCPP__ >= 400))