Edzard Egberts wrote:
> Albrecht Schlosser schrieb:
>> FLTK 1.3 has a new feature to remove widgets that are deleted from 
>> their parent groups. If this happens in your program, then you should 
>> see that there are some widgets missing.
> 
> Using FLTK 1.1.9 it is recommended to use Fl::delete_widget() for 
> deleting a widget, not the C++ delete, because this might crash. If OP 
> deletes a widget somewhere, he should replace the delete by 
> delete_widget(). I don't think, that it is necessary to use FLTK 1.3 for 
> deleting a widget. ;o)

That's all true, yes ;-)

... but to be precise: I meant this: if the widget deletion was done 
accidentally by having allocated a widget that goes out of scope, then 
the OP would see this by using FLTK 1.3 - this was merely meant as a 
test feature to find a potential bug. Sorry if this wasn't clear.

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

Reply via email to