Mercurial > hg > octave-nkf
diff src/DLD-FUNCTIONS/__init_fltk__.cc @ 12465:6b2abcd20fef
Call size_range early to allow window resizing for MinGW and MacOS
author | Kai Habel <kai.habel@gmx.de> |
---|---|
date | Mon, 21 Feb 2011 21:02:28 +0100 |
parents | 2f0d1e12806d |
children | 9c831d357e6f |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/__init_fltk__.cc +++ b/src/DLD-FUNCTIONS/__init_fltk__.cc @@ -640,6 +640,7 @@ panzoom (0), rotate (0), help (0), status (0) { callback (window_close, static_cast<void*> (this)); + size_range (4*status_h, 2*status_h); begin (); { @@ -741,7 +742,6 @@ set_name (); resizable (canvas); - size_range (4*status_h, 2*status_h); gui_mode = (ndim == 3 ? rotate_zoom : pan_zoom); uimenu->add_to_menu (fp); if (uimenu->items_to_show ())