On Wed, Nov 05, 2008 at 02:32:33PM -0000, MacArthur, Ian (SELEX GALILEO, UK)
wrote:
> > I'd like to know if it's a bug that the attached program needs to
> > explicitly call redraw() in the callback.
>
> This looks like the sort of thing (deleting a widget in its own
> callback) that requires the use of ::delete_widget(...) in fltk-1.x,
> but that should not be necessary in fltk-2.
We have also seen this in the Dillo downloads GUI which does something
similar but deletes the widgets from a timeout callback, so it's not
exclusive to code that deletes a widget from its own callback.
Strangely, that version of the bug is harder to replicate: I couldn't
reproduce it at all but other developers saw the same problem that my
toy example demonstrated and the same fix worked for them.
> I guess an STR would not go amiss for this.
Done (after some incompetent faffing on my part)!
http://www.fltk.org/str.php?L2084
Regards,
Jeremy Henty
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk