summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-09-30 10:04:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-09-30 10:04:55 (GMT)
commit04500f702ecda2ff80cf2ab14d730cf3dd25ef51 (patch)
tree9a5198f4b1140e29055878db7278889c1c2875ee /generic
parented77206329833f6d278b953c1f9460aff3f91db1 (diff)
downloadtk-04500f702ecda2ff80cf2ab14d730cf3dd25ef51.zip
tk-04500f702ecda2ff80cf2ab14d730cf3dd25ef51.tar.gz
tk-04500f702ecda2ff80cf2ab14d730cf3dd25ef51.tar.bz2
One more suggestion: Use the value of -sashwidth as default for -proxyborderwidth. It's one pixel different from the current behavior (2 -> 3 pixels), but would be consistant with -proxyrelief vs -sashrelief.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkPanedWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c
index 85180bc..159091f 100644
--- a/generic/tkPanedWindow.c
+++ b/generic/tkPanedWindow.c
@@ -2785,7 +2785,7 @@ DisplayProxyWindow(
Tk_Fill3DRectangle(tkwin, pixmap,
pwPtr->proxyBackground ? pwPtr->proxyBackground : pwPtr->background,
0, 0, Tk_Width(tkwin), Tk_Height(tkwin),
- pwPtr->proxyBorderWidthPtr ? pwPtr->proxyBorderWidth : pwPtr->borderWidth,
+ pwPtr->proxyBorderWidthPtr ? pwPtr->proxyBorderWidth : pwPtr->sashWidth,
(pwPtr->proxyRelief != TK_RELIEF_NULL) ? pwPtr->proxyRelief : pwPtr->sashRelief);
#ifndef TK_NO_DOUBLE_BUFFERING