Oops, Windows timers are periodic. So after displaying a tooltip,

we repainted once every second thereafter...

[git-p4: depot-paths = "//depot/solvespace/": change = 1889]
This commit is contained in:
Jonathan Westhues 2009-01-04 04:52:11 -08:00
parent 37795d24ba
commit f9eedb4db7

View File

@ -100,6 +100,8 @@ void Message(char *str, ...)
void CALLBACK TimerCallback(HWND hwnd, UINT msg, UINT_PTR id, DWORD time)
{
// The timer is periodic, so needs to be killed explicitly.
KillTimer(GraphicsWnd, 1);
SS.GW.TimerCallback();
}
void SetTimerFor(int milliseconds)