diff options
Diffstat (limited to 'mac')
-rw-r--r-- | mac/tkMacButton.c | 15 | ||||
-rw-r--r-- | mac/tkMacDefault.h | 3 |
2 files changed, 3 insertions, 15 deletions
diff --git a/mac/tkMacButton.c b/mac/tkMacButton.c index b726c82..1eb4231 100644 --- a/mac/tkMacButton.c +++ b/mac/tkMacButton.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: tkMacButton.c,v 1.12 2000/05/13 00:39:08 ericm Exp $ + * RCS: @(#) $Id: tkMacButton.c,v 1.13 2000/05/17 21:17:21 ericm Exp $ */ #include "tkButton.h" @@ -233,19 +233,6 @@ TkpDisplayButton( } /* - * 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; - } - } - /* * See the comment in UpdateControlColors as to why we use the * highlightbackground for the border of Macintosh buttons. */ diff --git a/mac/tkMacDefault.h b/mac/tkMacDefault.h index 1d7f010..42cfe76 100644 --- a/mac/tkMacDefault.h +++ b/mac/tkMacDefault.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacDefault.h,v 1.6 2000/05/14 20:45:38 ericm Exp $ + * RCS: @(#) $Id: tkMacDefault.h,v 1.7 2000/05/17 21:17:21 ericm Exp $ */ #ifndef _TKMACDEFAULT @@ -72,6 +72,7 @@ #define DEF_BUTTON_JUSTIFY "center" #define DEF_BUTTON_OFF_VALUE "0" #define DEF_BUTTON_ON_VALUE "1" +#define DEF_BUTTON_OVER_RELIEF "" #define DEF_BUTTON_PADX "7" #define DEF_LABCHKRAD_PADX "1" #define DEF_BUTTON_PADY "3" |