diff options
author | drh <drh@sqlite.org> | 2002-06-17 10:54:29 (GMT) |
---|---|---|
committer | drh <drh@sqlite.org> | 2002-06-17 10:54:29 (GMT) |
commit | 90037ac50d2b47d8beb6aaa0d812489f6fd8f6a4 (patch) | |
tree | 23b6e0c259b3c43053f44dbf6557b7a8ea074079 /win/tkWinButton.c | |
parent | df16beef2394e43a851c02727b1544950cebee65 (diff) | |
download | tk-90037ac50d2b47d8beb6aaa0d812489f6fd8f6a4.zip tk-90037ac50d2b47d8beb6aaa0d812489f6fd8f6a4.tar.gz tk-90037ac50d2b47d8beb6aaa0d812489f6fd8f6a4.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.
Diffstat (limited to 'win/tkWinButton.c')
-rw-r--r-- | win/tkWinButton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c index a9f19d5..8c86197 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.15 2002/04/05 08:43:22 hobbs Exp $ + * RCS: @(#) $Id: tkWinButton.c,v 1.16 2002/06/17 10:54:29 drh Exp $ */ #define OEMRESOURCE @@ -387,7 +387,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; } /* |