diff options
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | src/Fl_Text_Display.cxx | 3 |
2 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,6 @@ CHANGES IN FLTK 1.1.7 + - fixed frame drawing of Fl_Text_Display (STR #762.2) - Documentation fixes (STR #648, STR #692, STR #730, STR #744, STR #745) - Fl_Clock_Output::value() did not return the previously diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx index addf3d87a..71dcc118e 100644 --- a/src/Fl_Text_Display.cxx +++ b/src/Fl_Text_Display.cxx @@ -2894,14 +2894,13 @@ void Fl_Text_Display::draw(void) { // printf("drawing all (box = %d)\n", box()); // draw the box() int W = w(), H = h(); + draw_box(box(), x(), y(), W, H, color()); if (mHScrollBar->visible()) W -= scrollbar_width(); if (mVScrollBar->visible()) H -= scrollbar_width(); - draw_box(box(), x(), y(), W, H, color()); - // left margin fl_rectf(text_area.x-LEFT_MARGIN, text_area.y-TOP_MARGIN, LEFT_MARGIN, text_area.h+TOP_MARGIN+BOTTOM_MARGIN, |
