STR #1309: resize indicator not showing if size range does not permit resizing.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2006-06-05 12:09:30 +00:00
parent 9c0a2c0a0f
commit 587e1d170b
+1 -1
View File
@@ -107,7 +107,7 @@ void Fl_Window::draw() {
Fl_Widget::label(0);
Fl_Group::draw();
#ifdef __APPLE_QUARTZ__
if (!parent() && resizable()) {
if (!parent() && resizable() && (!size_range_set || minh!=maxh || minw!=maxw)) {
int dx = Fl::box_dw(box())-Fl::box_dx(box());
int dy = Fl::box_dh(box())-Fl::box_dy(box());
if (dx<=0) dx = 1;