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 /mac | |
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 'mac')
-rw-r--r-- | mac/tkMacButton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mac/tkMacButton.c b/mac/tkMacButton.c index 980a778..8d9f57a 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.15 2001/11/23 02:05:37 das Exp $ + * RCS: @(#) $Id: tkMacButton.c,v 1.16 2002/06/17 10:54:29 drh Exp $ */ #include "tkButton.h" @@ -228,7 +228,7 @@ TkpDisplayButton( if ((butPtr->type >= TYPE_CHECK_BUTTON) && !butPtr->indicatorOn) { if (!TkMacHaveAppearance() || !hasImageOrBitmap) { relief = (butPtr->flags & SELECTED) ? TK_RELIEF_SUNKEN - : TK_RELIEF_RAISED; + : butPtr->offRelief; } } |