]> git.saurik.com Git - wxWidgets.git/commit
Don't pass 0 timer ids to ::SetTimer().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Dec 2009 13:56:55 +0000 (13:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Dec 2009 13:56:55 +0000 (13:56 +0000)
commitfe0c328904fef5f321bb06de471a4830a2678a32
tree1d28732479a5ba82be0c437106360caba5096ce7
parent224d978ffb483f93864f8bf9a5cd61b1425a7fd5
Don't pass 0 timer ids to ::SetTimer().

Creating timers with 0 id failed because Windows SetTimer() function requires
a non-zero id. Fix this by using a (impossible at wx API level) -1 id value in
this case instead.

Closes #11392.

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