summaryrefslogtreecommitdiffstats
path: root/library/panedwindow.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2002-02-22 14:07:01 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2002-02-22 14:07:01 (GMT)
commit55fc45d3848765ca195aa690d8eeb9711f2ecc19 (patch)
tree51165ecdb3b3461eb8dcb9f1c5552063119464fb /library/panedwindow.tcl
parentfceafda7d034e62bd12688c6f2a85c3dc32c67cc (diff)
downloadtk-55fc45d3848765ca195aa690d8eeb9711f2ecc19.zip
tk-55fc45d3848765ca195aa690d8eeb9711f2ecc19.tar.gz
tk-55fc45d3848765ca195aa690d8eeb9711f2ecc19.tar.bz2
Fixed panedwindow binding bugs and added demos for it too.
Diffstat (limited to 'library/panedwindow.tcl')
-rw-r--r--library/panedwindow.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/panedwindow.tcl b/library/panedwindow.tcl
index a232f89..58218c1 100644
--- a/library/panedwindow.tcl
+++ b/library/panedwindow.tcl
@@ -3,7 +3,7 @@
# This file defines the default bindings for Tk panedwindow widgets and
# provides procedures that help in implementing those bindings.
#
-# RCS: @(#) $Id: panedwindow.tcl,v 1.1 2002/02/22 02:41:17 hobbs Exp $
+# RCS: @(#) $Id: panedwindow.tcl,v 1.2 2002/02/22 14:07:01 dkf Exp $
#
bind PanedWindow <Button-1> { ::tk::panedwindow::MarkSash %W %x %y 1 }
@@ -71,7 +71,7 @@ proc ::tk::panedwindow::DragSash {w x y proxy} {
# Results:
# Returns ...
#
-proc ::tk::panedwindow::ReleaseSash {w proxy} {
+proc ::tk::panedwindow::ReleaseSash {w x y proxy} {
if { [info exists ::tk::Priv(sash)] } {
if {$proxy} {
foreach {x y} [$w proxy coord] break