summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2006-10-04 12:48:18 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2006-10-04 12:48:18 +0000
commite8aac38a70546f6f23159ed23bea9606c852f747 (patch)
treecfa493c0ebc0e61c848172d02efa7084285470db
parent228af43a56699e3f28f41a72f60d5b22af4b8e96 (diff)
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
-rw-r--r--src/Fl_get_system_colors.cxx2
1 files changed, 1 insertions, 1 deletions
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