diff options
author | das <das> | 2008-12-07 16:30:59 (GMT) |
---|---|---|
committer | das <das> | 2008-12-07 16:30:59 (GMT) |
commit | 13db31e8a25cac1df37497fff167d1ea831b14ad (patch) | |
tree | fe81e9e8663bf4e7d7706af669c511d0f3c3d7f0 /macosx/tkMacOSXButton.c | |
parent | 51a3aa4b44deaefa92ce65ae192fee3e2bd6b149 (diff) | |
download | tk-13db31e8a25cac1df37497fff167d1ea831b14ad.zip tk-13db31e8a25cac1df37497fff167d1ea831b14ad.tar.gz tk-13db31e8a25cac1df37497fff167d1ea831b14ad.tar.bz2 |
TkpDisplayButton: use computed borderWidth
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-rw-r--r-- | macosx/tkMacOSXButton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index 7304617..bbfa00f 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.32 2007/12/13 15:27:08 dgp Exp $ + * RCS: @(#) $Id: tkMacOSXButton.c,v 1.33 2008/12/07 16:30:59 das Exp $ */ #include "tkMacOSXPrivate.h" @@ -486,7 +486,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) { |