On 02.05.2012 17:58, Michael Sweet wrote:
> I thought default_callback set some global state, too? IIRC fl_ask() and 
> friends used it as part of the old forms compatibility layer???

Yup, they used (/past/ tense) Fl::readqueue(), but the default
callback still queues events in this queue - and we had to remove
the widget from this queue on deletion of the widget. Maybe this
could also be removed in FLTK 3 ?

[Bill Spizak wrote:]
>> Note that this probably means default_callback can be zero.
>>
>> The only reason for default_callback was to avoid this if statement.

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to