summaryrefslogtreecommitdiffstats
path: root/library/msgbox.tcl
diff options
context:
space:
mode:
authorculler <culler>2019-08-14 19:49:19 (GMT)
committerculler <culler>2019-08-14 19:49:19 (GMT)
commit3852998b93c968577e0d7d17f57aceb6a2e226af (patch)
tree5dcf6dd0952ca7f3658163f409d3c1347f6ffde5 /library/msgbox.tcl
parent162b7b3ca96237392063619cd366db41eb0280da (diff)
downloadtk-3852998b93c968577e0d7d17f57aceb6a2e226af.zip
tk-3852998b93c968577e0d7d17f57aceb6a2e226af.tar.gz
tk-3852998b93c968577e0d7d17f57aceb6a2e226af.tar.bz2
Fix some dark mode legibility issues with dialogs and message boxes on macOS.
Thanks to Christopher Chavez.
Diffstat (limited to 'library/msgbox.tcl')
-rw-r--r--library/msgbox.tcl3
1 files changed, 0 insertions, 3 deletions
diff --git a/library/msgbox.tcl b/library/msgbox.tcl
index 98603af..646c143 100644
--- a/library/msgbox.tcl
+++ b/library/msgbox.tcl
@@ -164,9 +164,6 @@ proc ::tk::MessageBox {args} {
"warning" {set data(-icon) "caution"}
"info" {set data(-icon) "note"}
}
- option add *Dialog*background systemDialogBackgroundActive widgetDefault
- option add *Dialog*Button.highlightBackground \
- systemDialogBackgroundActive widgetDefault
}
if {![winfo exists $data(-parent)]} {