Author: spitzak
Date: 2007-10-17 11:47:02 -0700 (Wed, 17 Oct 2007)
New Revision: 5954
Log:
Don't redraw NO_BOX widgets when the highlighting changes as they
won't appear any different
Modified:
trunk/src/Widget.cxx
Modified: trunk/src/Widget.cxx
===================================================================
--- trunk/src/Widget.cxx 2007-10-07 18:49:55 UTC (rev 5953)
+++ trunk/src/Widget.cxx 2007-10-17 18:47:02 UTC (rev 5954)
@@ -602,7 +602,7 @@
the widget if the no highlight color is being used.
*/
void Widget::redraw_highlight() {
- if (active() && highlight_color())
+ if (active() && highlight_color() && box()!=NO_BOX)
redraw(DAMAGE_HIGHLIGHT);
}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit