summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDefault.h
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-07-14 20:27:14 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-07-14 20:27:14 (GMT)
commit23e453cf42f7b994add57898e672811e97d4e4fd (patch)
tree9258c57ed9792629bfc5d103c54edb2d0d12c663 /macosx/tkMacOSXDefault.h
parentb0ccde46840d0f2c5fe2b0caa40095bd53e029e0 (diff)
downloadtk-23e453cf42f7b994add57898e672811e97d4e4fd.zip
tk-23e453cf42f7b994add57898e672811e97d4e4fd.tar.gz
tk-23e453cf42f7b994add57898e672811e97d4e4fd.tar.bz2
Correctly use a system placeholder color on macOS.
Diffstat (limited to 'macosx/tkMacOSXDefault.h')
-rw-r--r--macosx/tkMacOSXDefault.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/macosx/tkMacOSXDefault.h b/macosx/tkMacOSXDefault.h
index 5675e43..c5327db 100644
--- a/macosx/tkMacOSXDefault.h
+++ b/macosx/tkMacOSXDefault.h
@@ -193,11 +193,7 @@
#define DEF_ENTRY_INSERT_WIDTH "1"
#define DEF_ENTRY_JUSTIFY "left"
#define DEF_ENTRY_PLACEHOLDER ""
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= 101000
-#define DEF_ENTRY_PLACEHOLDERFG "placeholderTextColor"
-#else
-#define DEF_ENTRY_PLACEHOLDERFG "#b3b3b3"
-#endif
+#define DEF_ENTRY_PLACEHOLDERFG "systemPlaceholderTextColor"
#define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG
#define DEF_ENTRY_READONLY_BG_MONO WHITE
#define DEF_ENTRY_RELIEF "sunken"