From e8aac38a70546f6f23159ed23bea9606c852f747 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 4 Oct 2006 12:48:18 +0000 Subject: Look for Text.selectBackground instead of fltk.selectBackground to get the selection color. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5508 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_get_system_colors.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fl_get_system_colors.cxx b/src/Fl_get_system_colors.cxx index 1f1f90fb0..9df0b6739 100644 --- a/src/Fl_get_system_colors.cxx +++ b/src/Fl_get_system_colors.cxx @@ -218,7 +218,7 @@ void Fl::get_system_colors() if (!fl_bg2_set) getsyscolor("Text","background", fl_bg2, "#ffffff", Fl::background2); if (!fl_fg_set) getsyscolor(key1, "foreground", fl_fg, "#000000", Fl::foreground); if (!fl_bg_set) getsyscolor(key1, "background", fl_bg, "#c0c0c0", Fl::background); - getsyscolor(key1, "selectBackground",0, "#000080", set_selection_color); + getsyscolor("Text", "selectBackground", 0, "#000080", set_selection_color); } #endif -- cgit v1.2.3