summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/tkWinButton.c16
-rw-r--r--win/tkWinDefault.h3
2 files changed, 3 insertions, 16 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c
index f40e9ba..b7acb47 100644
--- a/win/tkWinButton.c
+++ b/win/tkWinButton.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: tkWinButton.c,v 1.8 2000/05/13 00:39:09 ericm Exp $
+ * RCS: @(#) $Id: tkWinButton.c,v 1.9 2000/05/17 21:17:22 ericm Exp $
*/
#define OEMRESOURCE
@@ -391,20 +391,6 @@ TkpDisplayButton(clientData)
}
/*
- * 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;
- }
- }
-
- /*
* Compute width of default ring and offset for pushed buttons.
*/
diff --git a/win/tkWinDefault.h b/win/tkWinDefault.h
index 79a1771..1c59512 100644
--- a/win/tkWinDefault.h
+++ b/win/tkWinDefault.h
@@ -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: tkWinDefault.h,v 1.6 2000/05/14 20:45:39 ericm Exp $
+ * RCS: @(#) $Id: tkWinDefault.h,v 1.7 2000/05/17 21:17:23 ericm Exp $
*/
#ifndef _TKWINDEFAULT
@@ -76,6 +76,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 "1"
#define DEF_LABCHKRAD_PADX "1"
#define DEF_BUTTON_PADY "1"