summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2006-09-23 22:52:07 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2006-09-23 22:52:07 +0000
commit9663eaa1c42e760bb338457045e4a6f3243dd10e (patch)
tree2e0132f5a8cd825485a188e2dbf5ee11d8a3af04
parentb04788a189a3cbead8974b69756a0b6fe081ba18 (diff)
Use FL_BACKGROUND2_COLOR for the standard Fl_Choice background instead of
fl_lighter(color()), so that the previous look-n-feel is preserved. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_Choice.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Choice.cxx b/src/Fl_Choice.cxx
index 338390a15..8f47f32ac 100644
--- a/src/Fl_Choice.cxx
+++ b/src/Fl_Choice.cxx
@@ -51,7 +51,7 @@ void Fl_Choice::draw() {
fl_polygon(x1, y1 + 3, x1 + w1, y1 + w1 + 3, x1 + 2 * w1, y1 + 3);
fl_polygon(x1, y1 + 1, x1 + w1, y1 - w1 + 1, x1 + 2 * w1, y1 + 1);
} else {
- draw_box(FL_DOWN_BOX, fl_lighter(color()));
+ draw_box(FL_DOWN_BOX, FL_BACKGROUND2_COLOR);
draw_box(FL_UP_BOX,X,Y,W,H,color());
fl_color(active_r() ? labelcolor() : fl_inactive(labelcolor()));