On 06/11/12 09:42, jseb wrote:
>
> But [ type() ] doesn't transform Fl_Browser to Fl_Select_Browser, does it ?
Yep, that's what it does.
If you look at the source for FL/Fl_Select_Browser.H,
you'll see it just subclasses Fl_Browser and changes the type()
to FL_SELECT_BROWSER:
class FL_EXPORT Fl_Select_Browser : public Fl_Browser {
public:
Fl_Select_Browser(int X,int Y,int W,int H,const char *L=0)
: Fl_Browser(X,Y,W,H,L) {type(FL_SELECT_BROWSER);}
};
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk