diff options
author | dkf <dkf@noemail.net> | 2002-02-22 14:07:00 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2002-02-22 14:07:00 (GMT) |
commit | 8d3521a9f0fefc1fc9d44bbb142bcaa91ec3fa87 (patch) | |
tree | 51165ecdb3b3461eb8dcb9f1c5552063119464fb /library/tk.tcl | |
parent | 42056b4bb5de6d5af26fc8f7c2e3e488c89770c2 (diff) | |
download | tk-8d3521a9f0fefc1fc9d44bbb142bcaa91ec3fa87.zip tk-8d3521a9f0fefc1fc9d44bbb142bcaa91ec3fa87.tar.gz tk-8d3521a9f0fefc1fc9d44bbb142bcaa91ec3fa87.tar.bz2 |
Fixed panedwindow binding bugs and added demos for it too.
FossilOrigin-Name: 6cb4e627e7b512fab014d466d3f49e12fd61784a
Diffstat (limited to 'library/tk.tcl')
-rw-r--r-- | library/tk.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/tk.tcl b/library/tk.tcl index 076bd35..e7379c1 100644 --- a/library/tk.tcl +++ b/library/tk.tcl @@ -3,7 +3,7 @@ # Initialization script normally executed in the interpreter for each # Tk-based application. Arranges class bindings for widgets. # -# RCS: @(#) $Id: tk.tcl,v 1.34 2001/11/23 02:04:39 das Exp $ +# RCS: @(#) $Id: tk.tcl,v 1.35 2002/02/22 14:07:01 dkf Exp $ # # Copyright (c) 1992-1994 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -357,12 +357,12 @@ switch $::tcl_platform(platform) { # Read in files that define all of the class bindings. # ---------------------------------------------------------------------- -if {[string compare $::tcl_platform(platform) "macintosh"] && \ - [string compare {} $::tk_library]} { +if {$::tcl_platform(platform) ne "macintosh" && $::tk_library ne ""} { source [file join $::tk_library button.tcl] source [file join $::tk_library entry.tcl] source [file join $::tk_library listbox.tcl] source [file join $::tk_library menu.tcl] + source [file join $::tk_library panedwindow.tcl] source [file join $::tk_library scale.tcl] source [file join $::tk_library scrlbar.tcl] source [file join $::tk_library spinbox.tcl] |