Michael Sweet wrote: > On Mar 22, 2010, at 11:47 PM, Domingo Alvarez Duarte wrote: >> ... >> That's a nice way of having both worlds peacefully, I quite happy to >> change my propose to: >> >> Add new function that will be called if there is no callback in place: >> >> virtual void action(void *udata=0); > > Since this would be a virtual method on the class, would it need the > user_data passed to it (which is stored in the class)? > > ________________________________________ > Michael Sweet, Easy Software Products > > >
When I proposed: virtual void action(void *udata=0); I was thinking on this function being called form application code and doing things based on that parameter without store it in the class itself as an extra option, that's why it has default value. _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
