summaryrefslogtreecommitdiffstats
path: root/library/demos/widget
diff options
context:
space:
mode:
Diffstat (limited to 'library/demos/widget')
-rw-r--r--library/demos/widget5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/demos/widget b/library/demos/widget
index af5dbd6..04b1b2b 100644
--- a/library/demos/widget
+++ b/library/demos/widget
@@ -10,7 +10,7 @@ exec wish "$0" "$@"
# separate ".tcl" files is this directory, which are sourced by this script as
# needed.
#
-# RCS: @(#) $Id: widget,v 1.34 2007/10/17 18:21:49 das Exp $
+# RCS: @(#) $Id: widget,v 1.35 2007/10/17 18:55:05 das Exp $
package require Tcl 8.5
package require Tk 8.5
@@ -548,6 +548,9 @@ proc showCode w {
-highlightthickness 0 -orient horizontal -bd 1
scrollbar $t.yscroll -command [list $t.text yview] \
-highlightthickness 0 -orient vertical -bd 1
+ if {[tk windowingsystem] eq "aqua"} {
+ foreach i [list $t.text $t.xscroll $t.yscroll] {$i configure -bd 0}
+ }
grid $t.text $t.yscroll -sticky news
#grid $t.xscroll