diff options
Diffstat (limited to 'unix/tkUnixButton.c')
-rw-r--r-- | unix/tkUnixButton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixButton.c b/unix/tkUnixButton.c index 46dff22..21b2d2d 100644 --- a/unix/tkUnixButton.c +++ b/unix/tkUnixButton.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnixButton.c,v 1.8 2000/11/22 01:49:38 ericm Exp $ + * RCS: @(#) $Id: tkUnixButton.c,v 1.8.4.1 2002/08/20 20:27:18 das Exp $ */ #include "tkButton.h" @@ -121,7 +121,7 @@ TkpDisplayButton(clientData) relief = butPtr->relief; if ((butPtr->type >= TYPE_CHECK_BUTTON) && !butPtr->indicatorOn) { relief = (butPtr->flags & SELECTED) ? TK_RELIEF_SUNKEN - : TK_RELIEF_RAISED; + : butPtr->offRelief; } offset = (butPtr->type == TYPE_BUTTON) && !Tk_StrictMotif(butPtr->tkwin); |