From d6d1d8afe45a2f315f7fd91f2bcc2d9514d7244d Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Mon, 22 Mar 2021 07:58:47 -0700 Subject: [PATCH] Solve issue #204, wrong default for labelfgcolor() FL_BLACK changed to FL_FOREGROUND_COLOR as per docs. --- src/Fl_Tree_Prefs.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();