diff options
Diffstat (limited to 'gdb/gdbtk/library/prefs.tcl')
-rw-r--r-- | gdb/gdbtk/library/prefs.tcl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbtk/library/prefs.tcl b/gdb/gdbtk/library/prefs.tcl index 8f6e0123a6c..b767c898a73 100644 --- a/gdb/gdbtk/library/prefs.tcl +++ b/gdb/gdbtk/library/prefs.tcl @@ -682,8 +682,14 @@ proc pref_set_option_db {makebg} { option add *highlightBackground $Colors(bg) option add *selectBackground $Colors(sbg) - option add *activeBackground $Colors(sbg) + + if {$::tcl_platform(platform) == "unix"} { + option add *activeBackground $Colors(sbg) + } + option add *selectForeground $Colors(sfg) + option add *Menu*activeForeground $Colors(sfg) + if {[info exists Colors(prelight)]} { option add *Button*activeBackground $Colors(prelight) } |