diff options
author | das <das> | 2008-12-07 16:45:44 (GMT) |
---|---|---|
committer | das <das> | 2008-12-07 16:45:44 (GMT) |
commit | 513d914141b92110d2a1e5b36a301fe247611e8e (patch) | |
tree | 5f165a05525c93ea75c8c4fbd142e1cd92c3bcd2 | |
parent | ff814e408b2c33d29eb37c181e2b3ac1c827212b (diff) | |
download | tk-513d914141b92110d2a1e5b36a301fe247611e8e.zip tk-513d914141b92110d2a1e5b36a301fe247611e8e.tar.gz tk-513d914141b92110d2a1e5b36a301fe247611e8e.tar.bz2 |
TkpDisplayButton: use computed borderWidth
-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 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) { |