OSDN Git Service

2003-07-02 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Wed, 2 Jul 2003 22:19:29 +0000 (22:19 +0000)
committerhunt <hunt>
Wed, 2 Jul 2003 22:19:29 +0000 (22:19 +0000)
* library/prefs.tcl (pref_set_option_db): Only
set checkbutton select color for Unix.  Fixes Windows
checkbutton problem.

gdb/gdbtk/ChangeLog
gdb/gdbtk/library/prefs.tcl

index a9ad0a9..e140b32 100644 (file)
@@ -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>:
index 528aadc..8f6e012 100644 (file)
@@ -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)
+  }
 }