> > Pawel: > > I see now that the little problem of not being able to add Window > > instances to a vector is not so little. ... > > ... I'll just add my Fl_Window instances to an array (as I have in > > the mean-time). [ ... ]
Duncan: > As you have found, you cannot have a vector<Fl_Window> because all > Fl_Window constructors take parameters, and there is no Fl_Window() > default constructor. And for the same reason, you can't have an array of Fl_Window, so this is all a bit confusing. > However, you can easily get round that limitation by simply storing > pointers, and using a vector<Fl_Window*> instead. > That seems best, but if Pawel cares to post an example of what he's really doing we might be able to offer more concrete advice. Best, Stan _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

