OSDN Git Service

From Spencer Oliver <spencer.oliver@anglia.com>:
authorKeith Seitz <keiths@redhat.com>
Fri, 11 Nov 2005 17:19:06 +0000 (17:19 +0000)
committerKeith Seitz <keiths@redhat.com>
Fri, 11 Nov 2005 17:19:06 +0000 (17:19 +0000)
        * library/targetselection.itb (build_win): Only pack the xterm checkbutton
        on unix platforms.

gdb/gdbtk/ChangeLog
gdb/gdbtk/library/targetselection.itb

index a646633..39bf08d 100644 (file)
@@ -1,3 +1,9 @@
+2005-11-11  Keith Seitz  <keiths@redhat.com>
+
+       From Spencer Oliver <spencer.oliver@anglia.com>:
+       * library/targetselection.itb (build_win): Only pack the xterm checkbutton
+       on unix platforms.
+
 2005-09-12  Keith Seitz  <keiths@redhat.com>
 
        * generic/gdbtk.c (gdbtk_init): Remove all mention of Tix.
index 0de066d..e327ffd 100644 (file)
@@ -516,7 +516,9 @@ itcl::body TargetSelection::build_win {} {
   pack $f.fr.bp.at_func $f.fr.bp.func -side left
   grid $f.fr.bp -sticky w -padx 5 -pady 5
   grid $f.fr.verb -sticky w -padx 5 -pady 5
-  grid $f.fr.xterm -sticky w -padx 5 -pady 5
+  if {$tcl_platform(platform) == "unix"} {
+    grid $f.fr.xterm -sticky w -padx 5 -pady 5
+  }
   if {![pref get gdb/control_target]} {
     grid $f.fr.check -sticky w -padx 5 -pady 5
   }