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 | 9e83d4ac334c9dda1b6444841c7b348efb1bc29c (patch) | |
tree | 23b6e0c259b3c43053f44dbf6557b7a8ea074079 /mac | |
parent | 2bd48ca5cdfa4b3b44bdfb67108edde10c14c5f9 (diff) | |
download | tk-9e83d4ac334c9dda1b6444841c7b348efb1bc29c.zip tk-9e83d4ac334c9dda1b6444841c7b348efb1bc29c.tar.gz tk-9e83d4ac334c9dda1b6444841c7b348efb1bc29c.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; } } |