The time passed to pthread_cond_timedwait() must be in UTC, not local time,
but wxGetLocalTimeMillis() now really returns the time in local time zone so
we must use wxGetUTCTimeMillis() instead.
Closes #13707.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69881
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxCondError wxConditionInternal::WaitTimeout(unsigned long milliseconds)
{
- wxLongLong curtime = wxGetLocalTimeMillis();
+ wxLongLong curtime = wxGetUTCTimeMillis();
curtime += milliseconds;
wxLongLong temp = curtime / 1000;
int sec = temp.GetLo();