]> git.saurik.com Git - wxWidgets.git/commit
Fix bug with wxStopWatch::Start() not resuming paused stopwatch any more.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 3 Dec 2011 00:34:00 +0000 (00:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 3 Dec 2011 00:34:00 +0000 (00:34 +0000)
commit17d72a48ffd4d8ff42eed070ac48ee2de50ceabd
tree00bb9a6f9d5d6b9b99997864288555fa43c81b2d
parent238188550e01873579971679dc53a1aabc715596
Fix bug with wxStopWatch::Start() not resuming paused stopwatch any more.

Since r69835 the stop watch remained paused even when Start() was called. Do
resume it when restarting it both for backwards compatibility and because it
makes more sense and also document this behaviour.

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