summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2008-05-04 17:16:50 (GMT)
committerjenglish <jenglish@flightlab.com>2008-05-04 17:16:50 (GMT)
commit158f5fd9a87c851bcaaefa94689eefdd9c8d4b59 (patch)
tree5e6e221cc9a5a21cd449191932ea7ab162cc4634 /macosx/ttkMacOSXTheme.c
parent23825b57d2dfd97cd758d46c65dd4969eea56004 (diff)
downloadtk-158f5fd9a87c851bcaaefa94689eefdd9c8d4b59.zip
tk-158f5fd9a87c851bcaaefa94689eefdd9c8d4b59.tar.gz
tk-158f5fd9a87c851bcaaefa94689eefdd9c8d4b59.tar.bz2
"default" and "focus" adornments should not be disjoint [Bug 1942785]
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r--macosx/ttkMacOSXTheme.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index 585221c..042ab98 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -27,7 +27,7 @@
* top-level window, not to the Tk_Window. BoxToRect()
* accounts for this.
*
- * RCS: @(#) $Id: ttkMacOSXTheme.c,v 1.21 2007/12/13 15:27:10 dgp Exp $
+ * RCS: @(#) $Id: ttkMacOSXTheme.c,v 1.21.2.1 2008/05/04 17:16:51 jenglish Exp $
*/
#include "tkMacOSXPrivate.h"
@@ -160,6 +160,8 @@ static Ttk_StateTable ButtonValueTable[] = {
};
static Ttk_StateTable ButtonAdornmentTable[] = {
+ { kThemeAdornmentDefault| kThemeAdornmentFocus,
+ TTK_STATE_ALTERNATE| TTK_STATE_FOCUS, 0 },
{ kThemeAdornmentDefault, TTK_STATE_ALTERNATE, 0 },
{ kThemeAdornmentFocus, TTK_STATE_FOCUS, 0 },
{ kThemeAdornmentNone, 0, 0 }