> > On 08.12.2011, at 20:55, David Allen wrote: > > > I want to have several groups in the same region with all but one = > hidden at any one time. It would be like a Wizard except that the order = > of display is not sequential. > >=20 > > Starting with just two groups with no hides, the program compiles and = > runs. Because the labels are outside the enclosed widgets, I can tell = > that both groups are there. When I attempt to hide one of the groups, = > g++ gives the message: > >=20 > > /usr/local/include/FL/Fl_Widget.H:684: error: =91virtual void = > Fl_Widget::hide()=92 is inaccessible > > Control/main.cpp:56: error: within this context > > Control/main.cpp:56: error: =91Fl_Widget=92 is not an accessible base = > of =91SelectData=92 > >=20 > > I am using 1.3.0. Suggestions would be appreciated. > > You probably wrote=20 > > class SelectData : Fl_Group { > ... > }; > > which makes Fl_Group a private superclass. > > It should be > > class SelectData : public Fl_Group { > > > Yes!!!!! Thank you so much.
_______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk