gga wrote: > Yes, it is valid. > But, in your own example, the 'this' pointer in control is still > undefined when called from aframe (or only partially defined for > control, not for aframe), so your p->add() may or may not work as you want.
well, as long as add() is not a virtual function, you are fine. with respect to begin() and end(): I have pretty conservative opinion here, I thing fltk 1.1 automatic adding to the current group made it right. In that way you can move various code snip sets without too much worry of forgetting begin()/end()/add()/whatever() and in most cases it just works(TM). Roman _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

