Christophe Geuzaine wrote:
> Attached is a small patch that adds that capability + makes
> Fl_Tree compile with FLTK versions older than 1.1.9.
Thanks again for the patch.
One small omission: I'd suggest adding the following
to the copy constructor:
--- snip
_label_xywh[2] = o->_label_xywh[2];
_label_xywh[3] = o->_label_xywh[3];
_usericon = o->usericon();
_userdata = o->userdata(); // <-- ADD THIS
_parent = o->_parent;
--- snip
It'd be nice if the compiler could warn about omissions
regarding uninitialized data in constructors :/
Maybe there is a flag, and I just don't know what it is,
but I'd sure like to use it..
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk