pawel wrote:
>
> In the meantime I had tried to subclass my 'edit Fl_Group'. (with your
> corrections) in the callback I've now replaced:
> edit = new Fl_Group(...);
> with
> edit = new edit_grp(...);
>
> and moved all the relevant code to the constructor of the new subclass:
>
> class edit_grp : public Fl_Group {
> public:
> edit_grp(...) : Fl_Group(...) {
> // code from subclass, removing "edit->" where appropriate
> }
> }
>
My mistake. It seems I didn't put a semi-colon, ";", after the final bracket
of my new subclass. Apparently that matters. :)
It's all good.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk