]> git.saurik.com Git - wxWidgets.git/commit - src/common/stopwatch.cpp
Use wxGetUTCTimeMillis() instead of wxGetLocalTimeMillis() in wxStopWatch.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Nov 2011 19:50:35 +0000 (19:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 Nov 2011 19:50:35 +0000 (19:50 +0000)
commite16458826d99c9c76c93ee46933a22d89a38a388
tree0cd26b885c575c7f911884d9af19ed843ace2024
parentcec1b1ab0b03e504470c0689d5098bbcd0e0b2f7
Use wxGetUTCTimeMillis() instead of wxGetLocalTimeMillis() in wxStopWatch.

Using local time meant that wxStopWatch didn't work reliably around DST
changes. It also was completely unnecessary, just use the UTC clock instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/stopwatch.cpp