diff options
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | src/Fl_Browser.cxx | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,8 @@ CHANGES IN FLTK 1.1.7 - Documentation fixes (STR #648, STR #692) + - Fl_Browser::swap() didn't handle redraws properly when + the swapped lines had different heights (STR #729) - FL_MOUSEWHEEL events are now sent first to the widget under the mouse pointer and then to the first widget which accepts them. This is similar to the way diff --git a/src/Fl_Browser.cxx b/src/Fl_Browser.cxx index f2dae5f5e..70b729067 100644 --- a/src/Fl_Browser.cxx +++ b/src/Fl_Browser.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Browser.cxx,v 1.9.2.12.2.13 2004/11/20 03:19:58 easysw Exp $" +// "$Id$" // // Browser widget for the Fast Light Tool Kit (FLTK). // @@ -534,8 +534,7 @@ void Fl_Browser::swap(FL_BLINE *a, FL_BLINE *b) { // Disable cache -- we played around with positions cacheline = 0; // Redraw modified lines - redraw_line(a); - redraw_line(b); + redraw_lines(); } void Fl_Browser::swap(int ai, int bi) { @@ -546,5 +545,5 @@ void Fl_Browser::swap(int ai, int bi) { } // -// End of "$Id: Fl_Browser.cxx,v 1.9.2.12.2.13 2004/11/20 03:19:58 easysw Exp $". +// End of "$Id$". // |
