[I apologize for replying to my own message a 2nd time]

On 03.09.2010, at 10:19, Albrecht Schlosser wrote:

> The real problem is probably that you don't call
> Fl_Widget::resize() at all, if w() and h() didn't change.

This should actually be Fl_Double_Window::resize().

Otherwise you short-circuit everything that Fl_*Window
and Fl_Group would do in their resize() methods. That's
probably not what you wanted to do. It's always better
to call the direct parent class's method instead of any
other in the object hierarchy - unless you really know
what you do.

[...]

> Fl_Widget::resize(i_x_pos, i_y_pos, i_x_len, i_y_len);

change this to:

  Fl_Double_Window::resize(i_x_pos, i_y_pos, i_x_len, i_y_len);

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to