summaryrefslogtreecommitdiff
path: root/gdb/gdbtk
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2003-07-02 22:19:30 +0000
committerMartin Hunt <hunt@redhat.com>2003-07-02 22:19:30 +0000
commit4c561803819b22ab2b4780cb0edc49b81808272a (patch)
tree10444826d8e892a9fb4b72f32029458471291145 /gdb/gdbtk
parent6aad853fce8e927bd67235d9c8d11d11f08cee79 (diff)
downloadgdb-4c561803819b22ab2b4780cb0edc49b81808272a.tar.gz
2003-07-02 Martin Hunt <hunt@redhat.com>
* library/prefs.tcl (pref_set_option_db): Only set checkbutton select color for Unix. Fixes Windows checkbutton problem.
Diffstat (limited to 'gdb/gdbtk')
-rw-r--r--gdb/gdbtk/ChangeLog6
-rw-r--r--gdb/gdbtk/library/prefs.tcl4
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index a9ad0a9f77a..e140b32302b 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -1,3 +1,9 @@
+2003-07-02 Martin Hunt <hunt@redhat.com>
+
+ * library/prefs.tcl (pref_set_option_db): Only
+ set checkbutton select color for Unix. Fixes Windows
+ checkbutton problem.
+
2003-06-26 Keith R Seitz <keiths@redhat.com>
From Roland Schwingel <Roland.Schwingel@onevision.de>:
diff --git a/gdb/gdbtk/library/prefs.tcl b/gdb/gdbtk/library/prefs.tcl
index 528aadc8c73..8f6e0123a6c 100644
--- a/gdb/gdbtk/library/prefs.tcl
+++ b/gdb/gdbtk/library/prefs.tcl
@@ -703,5 +703,7 @@ proc pref_set_option_db {makebg} {
# Change the default select color for checkbuttons, etc to match
# selectBackground.
- option add *selectColor $Colors(sbg)
+ if {$::tcl_platform(platform) == "unix"} {
+ option add *selectColor $Colors(sbg)
+ }
}