diff options
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | src/Fl_Browser_.cxx | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -2,6 +2,8 @@ CHANGES IN FLTK 1.1.7 - Documentation fixes (STR #648, STR #692, STR #730, STR #744, STR #745) + - Fixed the drawing of the Fl_Browser_ selection box (STR + #786) - Dropped Codewarrier project files and support. - The FLTK string functions are now compiled in on all systems (STR #774) diff --git a/src/Fl_Browser_.cxx b/src/Fl_Browser_.cxx index 68693f994..9835fba1f 100644 --- a/src/Fl_Browser_.cxx +++ b/src/Fl_Browser_.cxx @@ -362,7 +362,8 @@ J1: } item_draw(l, X-hposition_, yy+Y, W+hposition_, hh); if (l == selection_ && Fl::focus() == this) { - draw_focus(FL_NO_BOX, X, yy+Y+1, W, hh); + draw_box(FL_BORDER_FRAME, X, yy+Y, W, hh, color()); + draw_focus(FL_NO_BOX, X, yy+Y, W, hh+1); } int ww = item_width(l); if (ww > max_width) {max_width = ww; max_width_item = l;} |
