>
> Try this:
>
> Void ...() {
> this->begin();
> edit = new Fl_Group(...)
>
Thanks Matthias. That's it, it's working.
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
}
}
And in the declaration of my application window subclass I changed:
Fl_Group *edit;
to
edit_grp *edit;
Now when compiling I get:
"error: multiple types in one declaration"
with the cursor resting on the closing bracket of my app win class.
What is causing this error? (I did as much as I could following the "Making a
Composite Widget" section of the v1.3 docs.)
again, many thanks, pawel
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk