diff options
author | drh <drh@noemail.net> | 2002-06-17 10:54:28 (GMT) |
---|---|---|
committer | drh <drh@noemail.net> | 2002-06-17 10:54:28 (GMT) |
commit | a5a526f31ff0da02b8c2b58548afa010e1e4429c (patch) | |
tree | 23b6e0c259b3c43053f44dbf6557b7a8ea074079 /unix/tkUnixButton.c | |
parent | 8061347e50433833eb64f874be61ff4f912194ba (diff) | |
download | tk-a5a526f31ff0da02b8c2b58548afa010e1e4429c.zip tk-a5a526f31ff0da02b8c2b58548afa010e1e4429c.tar.gz tk-a5a526f31ff0da02b8c2b58548afa010e1e4429c.tar.bz2 |
Initial implementation of TIP #82: added the -offrelief option to
checkbutton and radiobutton to allow those widgets to have a
MS-Office look and feel.
FossilOrigin-Name: 882e41f5ee6e4ceae781257e3442e7882a9cd4d4
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..bac7785 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.9 2002/06/17 10:54:29 drh 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); |