summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorculler <culler>2019-07-12 21:54:15 (GMT)
committerculler <culler>2019-07-12 21:54:15 (GMT)
commitc56d6abf7cd4889f2a3b34dc09a4af9b8936bd54 (patch)
tree12b725472a428010814600b8f8af65b0df778aa1 /macosx
parent03cded74665ad3a2b8c9ec3367d405c7c2adcd32 (diff)
downloadtk-c56d6abf7cd4889f2a3b34dc09a4af9b8936bd54.zip
tk-c56d6abf7cd4889f2a3b34dc09a4af9b8936bd54.tar.gz
tk-c56d6abf7cd4889f2a3b34dc09a4af9b8936bd54.tar.bz2
fix [4566e2b83d]: Aqua toplevels and Tk frames use the wrong background color
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXDefault.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/macosx/tkMacOSXDefault.h b/macosx/tkMacOSXDefault.h
index 660b240..9c3654a 100644
--- a/macosx/tkMacOSXDefault.h
+++ b/macosx/tkMacOSXDefault.h
@@ -35,9 +35,10 @@
#define BLACK "Black"
#define WHITE "White"
-#define NORMAL_BG "systemTextBackgroundColor"
+#define NORMAL_BG "systemWindowBackgroundColor"
+#define TEXT_BG "systemTextBackgroundColor"
#define NORMAL_FG "systemTextColor"
-#define ACTIVE_BG "systemTextBackgroundColor"
+#define ACTIVE_BG "systemWindowBackgroundColor"
#define ACTIVE_FG "systemTextColor"
#define SELECT_BG "systemSelectedTextBackgroundColor"
#define SELECT_FG "systemSelectedTextColor"
@@ -171,7 +172,7 @@
#define MAC_OSX_ENTRY_RELIEF TK_RELIEF_SUNKEN
#define MAC_OSX_ENTRY_SELECT_RELIEF TK_RELIEF_FLAT
-#define DEF_ENTRY_BG_COLOR NORMAL_BG
+#define DEF_ENTRY_BG_COLOR TEXT_BG
#define DEF_ENTRY_BG_MONO WHITE
#define DEF_ENTRY_BORDER_WIDTH "2"
#define DEF_ENTRY_CURSOR "xterm"
@@ -246,7 +247,7 @@
*/
#define DEF_LISTBOX_ACTIVE_STYLE "dotbox"
-#define DEF_LISTBOX_BG_COLOR NORMAL_BG
+#define DEF_LISTBOX_BG_COLOR TEXT_BG
#define DEF_LISTBOX_BG_MONO WHITE
#define DEF_LISTBOX_BORDER_WIDTH "1"
#define DEF_LISTBOX_CURSOR ""
@@ -499,7 +500,7 @@
*/
#define DEF_TEXT_AUTO_SEPARATORS "1"
-#define DEF_TEXT_BG_COLOR NORMAL_BG
+#define DEF_TEXT_BG_COLOR TEXT_BG
#define DEF_TEXT_BG_MONO WHITE
#define DEF_TEXT_BLOCK_CURSOR "0"
#define DEF_TEXT_BORDER_WIDTH "0"