> I didn't test this, but this ought to work with your virtual method. > The fact that it "worked" in your 2nd example appears just to be > good luck or something like this... ;-)
I didn't check, but the OP said the case that worked derived from Fl_Button, so I assume that works because the "Fl_Widget*" and the "this*" both hark back to Fl_Button in that case. Somehow... SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

