summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordas <das>2008-12-07 16:45:44 (GMT)
committerdas <das>2008-12-07 16:45:44 (GMT)
commit342025e73c87d9b3eeae1a8b6184ae51f910e1e3 (patch)
tree5f165a05525c93ea75c8c4fbd142e1cd92c3bcd2 /macosx
parentbe1c6137ba043ec6b925ce0808708027ea720b76 (diff)
downloadtk-342025e73c87d9b3eeae1a8b6184ae51f910e1e3.zip
tk-342025e73c87d9b3eeae1a8b6184ae51f910e1e3.tar.gz
tk-342025e73c87d9b3eeae1a8b6184ae51f910e1e3.tar.bz2
TkpDisplayButton: use computed borderWidth
Diffstat (limited to 'macosx')
-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) {