summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2008-12-07 16:45:44 (GMT)
committerdas <das>2008-12-07 16:45:44 (GMT)
commitc15e9c5b730d56ace9b6968d98419b4c0e383b05 (patch)
tree5f165a05525c93ea75c8c4fbd142e1cd92c3bcd2
parentcc5b720a2eb1596d5ecd1981378e47722e1d9d50 (diff)
downloadtk-c15e9c5b730d56ace9b6968d98419b4c0e383b05.zip
tk-c15e9c5b730d56ace9b6968d98419b4c0e383b05.tar.gz
tk-c15e9c5b730d56ace9b6968d98419b4c0e383b05.tar.bz2
TkpDisplayButton: use computed borderWidth
-rw-r--r--macosx/tkMacOSXButton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c
index cde525c..cc9fd34 100644
--- a/macosx/tkMacOSXButton.c
+++ b/macosx/tkMacOSXButton.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXButton.c,v 1.2.2.20 2007/11/09 07:36:45 das Exp $
+ * RCS: @(#) $Id: tkMacOSXButton.c,v 1.2.2.21 2008/12/07 16:45:44 das Exp $
*/
#include "tkMacOSXPrivate.h"
@@ -490,7 +490,7 @@ TkpDisplayButton(
Tk_Draw3DRectangle(tkwin, pixmap, dpPtr->border, inset, inset,
Tk_Width(tkwin) - 2*inset, Tk_Height(tkwin) - 2*inset,
- butPtr->borderWidth, dpPtr->relief);
+ borderWidth, dpPtr->relief);
}
}
if (portChanged) {