Hello,
The way I use FLTK encompasses some level of re-entrance. However, I discovered
a little problem in the way add_timeout is used on Windows. If I initialize a
first timeout, it works like a charm... If I try to relaunch a new timeout
within the same application, then it does not work anymore.
I have investigated a little bit, and I have discovered that in order to re-use
a timer in the same application, I needed to reset the value of s_TimerWnd to 0
in fl_win32.cxx.
For the moment, I have implemented a small function, which does that (the
variable is static)
void FlResetTimer() {
if (s_TimerWnd)
s_TimerWnd=0;
}
I suppose there is a better way to have this variable reset in a different
place, but for the moment, it seems to suffice.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk