summaryrefslogtreecommitdiff
path: root/src/Fl_Tree_Prefs.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2021-03-22 07:58:47 -0700
committerGreg Ercolano <erco@seriss.com>2021-03-22 07:58:47 -0700
commitd6d1d8afe45a2f315f7fd91f2bcc2d9514d7244d (patch)
treef3f3289b0fed466060b764472c2212a446578809 /src/Fl_Tree_Prefs.cxx
parent62ff323b706b0ea24f079462de987cf73981dcbe (diff)
Solve issue #204, wrong default for labelfgcolor()
FL_BLACK changed to FL_FOREGROUND_COLOR as per docs.
Diffstat (limited to 'src/Fl_Tree_Prefs.cxx')
-rw-r--r--src/Fl_Tree_Prefs.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Tree_Prefs.cxx b/src/Fl_Tree_Prefs.cxx
index 4bfe484ec..d8f68a8ba 100644
--- a/src/Fl_Tree_Prefs.cxx
+++ b/src/Fl_Tree_Prefs.cxx
@@ -149,7 +149,7 @@ Fl_Tree_Prefs::Fl_Tree_Prefs() {
_labelmarginleft = 3;
_widgetmarginleft = 3;
_linespacing = 0;
- _labelfgcolor = FL_BLACK;
+ _labelfgcolor = FL_FOREGROUND_COLOR;
_labelbgcolor = 0xffffffff; // we use this as 'transparent'
_connectorcolor = Fl_Color(43);
_connectorstyle = (Fl_Tree_Connector)Fl::system_driver()->tree_connector_style();