made wxDateTimeDefault an object and not a reference to avoid (well, minimize) initialization order problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user