]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datetime.cpp
Compile corrections
[wxWidgets.git] / src / common / datetime.cpp
index 7dc31201942b12699377b48881284bbecb86462c..418a72f51c89faad35ac925dcfc6396774254732 100644 (file)
@@ -211,10 +211,7 @@ static const wxDateTime::wxDateTime_t gs_cumulatedDays[2][MONTHS_IN_YEAR] =
 
 // in the fine tradition of ANSI C we use our equivalent of (time_t)-1 to
 // indicate an invalid wxDateTime object
-
-static const wxDateTime gs_dtDefault;
-
-const wxDateTime& wxDefaultDateTime = gs_dtDefault;
+const wxDateTime wxDefaultDateTime;
 
 wxDateTime::Country wxDateTime::ms_country = wxDateTime::Country_Unknown;