On Saturday 21 April 2007 21:27:44 michael sephton wrote: > [...] > So I guess the solution is to simply change: > win = new Window(100, 100); > to > win = new Window(x,y,100,100); > and then it doesn't matter if MainWindow::win is constructed before or after the popup menu, they will both behave as expected. >
Thanks, I already solved this by putting creation/definition of the menu before creation/definition of subwindow, I just wanted to give a notice here about this behaviour, so it could be fixed in future if it is a bug. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

