diff options
Diffstat (limited to 'unix/tkUnixButton.c')
-rw-r--r-- | unix/tkUnixButton.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/unix/tkUnixButton.c b/unix/tkUnixButton.c index ce9ffac..bad8d8a 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.5 2000/05/13 00:39:09 ericm Exp $ + * RCS: @(#) $Id: tkUnixButton.c,v 1.6 2000/05/17 21:17:22 ericm Exp $ */ #include "tkButton.h" @@ -125,20 +125,6 @@ TkpDisplayButton(clientData) : TK_RELIEF_RAISED; } - /* - * LINK relief means that the button has a raised relief when it is - * active, and a flat relief otherwise (like toolbar buttons). It - * is supported for true buttons only. - */ - - if ((butPtr->type == TYPE_BUTTON) && butPtr->relief == TK_RELIEF_LINK) { - if ((butPtr->flags & MOUSE_IN_BUTTON) == MOUSE_IN_BUTTON) { - relief = TK_RELIEF_RAISED; - } else { - relief = TK_RELIEF_FLAT; - } - } - offset = (butPtr->type == TYPE_BUTTON) && !Tk_StrictMotif(butPtr->tkwin); /* |