DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2130
Version: 1.1.9





Link: http://www.fltk.org/str.php?L2130
Version: 1.1.9
Index: src/Fl_Pack.cxx
===================================================================
--- src/Fl_Pack.cxx     (Revision 6817)
+++ src/Fl_Pack.cxx     (Arbeitskopie)
@@ -70,6 +70,9 @@
         rh += spacing_;
       }
   }
+
+  if (clip_children()) fl_push_clip(tx,ty,tw,th);
+
   for (int i = children(); i--;) {
     Fl_Widget* o = *a++;
     if (o->visible()) {
@@ -115,7 +118,9 @@
       current_position += spacing_;
     }
   }
-  
+
+  if (clip_children()) fl_pop_clip();
+
   if (horizontal()) {
     if (maximum_position < tx+tw && box()) {
       fl_color(color());
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to