Author: greg.ercolano
Date: 2012-11-13 13:29:12 -0800 (Tue, 13 Nov 2012)
New Revision: 9720
Log:
Fixes STR#2886: prevents scrollbars from drawing
when widget is sized too small to be visible.
Modified:
branches/branch-1.3/src/Fl_Browser_.cxx
Modified: branches/branch-1.3/src/Fl_Browser_.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Browser_.cxx 2012-11-13 14:45:42 UTC (rev
9719)
+++ branches/branch-1.3/src/Fl_Browser_.cxx 2012-11-13 21:29:12 UTC (rev
9720)
@@ -423,8 +423,9 @@
fl_pop_clip();
}
fl_pop_clip();
+
+ fl_push_clip(x(),y(),w(),h()); // STR# 2886
redraw1 = redraw2 = 0;
-
if (!dont_repeat) {
dont_repeat = 1;
// see if changes to full_height caused by calls to slow_height
@@ -474,6 +475,7 @@
}
real_hposition_ = hposition_;
+ fl_pop_clip();
}
// Quick way to delete and reset everything:
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit