> * In the Choice() constructor removed accesses to window properties > (window()->x(), window()->y()) because this access was causing a seg fault. > Aren't the x,y values from the constructor sufficient to place the Choices() > anyway? > > Also, I saw you inherited from Fl_Double_Window for the Choices(). I haven't > done this before - what is the advantage of this? For buffering? >
I did that so that the "menu" display wouldn't get cut off at the edges of the enclosing window. If that's not an issue for you by all means do it your way. The other issue is related... you don't require the window coordinates if you aren't making a separate window. Glad it works for you. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

