From 78758d5e375e109c242a7d58233265a026f3c100 Mon Sep 17 00:00:00 2001
From: das <das@noemail.net>
Date: Sun, 7 Dec 2008 16:45:43 +0000
Subject: TkpDisplayButton: use computed borderWidth

FossilOrigin-Name: 18d17bc64216153c92ac169b7c980169418c4bb3
---
 macosx/tkMacOSXButton.c | 4 ++--
 1 file 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) {
-- 
cgit v0.12