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:
parent
37795d24ba
commit
f9eedb4db7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user