using WX_TIMEZONE set by configure instead of timezone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -75,6 +75,10 @@
|
|||||||
|
|
||||||
#include "wx/datetime.h"
|
#include "wx/datetime.h"
|
||||||
|
|
||||||
|
#ifndef WX_TIMEZONE
|
||||||
|
#define WX_TIMEZONE timezone
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// constants
|
// constants
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -151,7 +155,7 @@ static int GetTimeZone()
|
|||||||
s_timezoneSet = TRUE;
|
s_timezoneSet = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (int)timezone;
|
return (int)WX_TIMEZONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// return the integral part of the JDN for the midnight of the given date (to
|
// return the integral part of the JDN for the midnight of the given date (to
|
||||||
|
Reference in New Issue
Block a user