summaryrefslogtreecommitdiffstats
path: root/macosx
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)
commitb7066aa437cbd3f656ecf93cc1e8744c75d0edec (patch)
tree5e6e221cc9a5a21cd449191932ea7ab162cc4634 /macosx
parent4a3e8169ae82674141b20aae1d37f947b582484a (diff)
downloadtk-b7066aa437cbd3f656ecf93cc1e8744c75d0edec.zip
tk-b7066aa437cbd3f656ecf93cc1e8744c75d0edec.tar.gz
tk-b7066aa437cbd3f656ecf93cc1e8744c75d0edec.tar.bz2
"default" and "focus" adornments should not be disjoint [Bug 1942785]
Diffstat (limited to 'macosx')
-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 }