Fixed the drawing of the Fl_Browser_ selection box (STR #786)

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2005-04-10 22:44:48 +00:00
parent 7e79bfa611
commit 7102b0a38a
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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;}