summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-11-02 10:48:05 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-11-02 10:48:05 +0000
commit965f74c3784c3142153ba82b8cc62ed63739c182 (patch)
treea986a71d49a787a4b91b235312673293ac04af4f /src
parentf58d80d07779f6950453490e8d63a3f46ca0539f (diff)
STR #1052: using foreground color instead of black in Check Browser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Check_Browser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Check_Browser.cxx b/src/Fl_Check_Browser.cxx
index 5d898195f..05c7b1c32 100644
--- a/src/Fl_Check_Browser.cxx
+++ b/src/Fl_Check_Browser.cxx
@@ -124,7 +124,7 @@ void Fl_Check_Browser::item_draw(void *v, int X, int Y, int, int) const {
int cy = Y + (tsize + 1 - CHECK_SIZE) / 2;
X += 2;
- fl_color(active_r() ? FL_BLACK : fl_inactive(FL_BLACK));
+ fl_color(active_r() ? FL_FOREGROUND_COLOR : fl_inactive(FL_FOREGROUND_COLOR));
fl_loop(X, cy, X, cy + CHECK_SIZE,
X + CHECK_SIZE, cy + CHECK_SIZE, X + CHECK_SIZE, cy);
if (i->checked) {