diff options
author | drh@sqlite.org <drh> | 2002-06-17 10:54:29 (GMT) |
---|---|---|
committer | drh@sqlite.org <drh> | 2002-06-17 10:54:29 (GMT) |
commit | d2ceff8d9daeb8b9931ea519936ca9e61aa29810 (patch) | |
tree | 23b6e0c259b3c43053f44dbf6557b7a8ea074079 /win/tkWinButton.c | |
parent | 3edac64f99d80e11142de85fc8d7280b3801d35c (diff) | |
download | tk-d2ceff8d9daeb8b9931ea519936ca9e61aa29810.zip tk-d2ceff8d9daeb8b9931ea519936ca9e61aa29810.tar.gz tk-d2ceff8d9daeb8b9931ea519936ca9e61aa29810.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; } /* |