summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2021-11-01 21:51:48 (GMT)
committermarc_culler <marc.culler@gmail.com>2021-11-01 21:51:48 (GMT)
commit17efef46d0ceb334776458a8d23df6fb6dcf6c75 (patch)
treed2dcd6e0111352ff2e45d737588e0244218b9af1 /macosx
parentba2697a06bbbb5c5589b38509e7fb620841cf154 (diff)
downloadtk-17efef46d0ceb334776458a8d23df6fb6dcf6c75.zip
tk-17efef46d0ceb334776458a8d23df6fb6dcf6c75.tar.gz
tk-17efef46d0ceb334776458a8d23df6fb6dcf6c75.tar.bz2
Catalina too.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXButton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c
index 54717a8..f8f60f8 100644
--- a/macosx/tkMacOSXButton.c
+++ b/macosx/tkMacOSXButton.c
@@ -765,7 +765,7 @@ TkMacOSXDrawButton(
* Using a ttk::button would be a much better choice, however.
*/
- if ([NSApp macOSVersion] < 110000) {
+ if ([NSApp macOSVersion] < 101500) {
if (TkMacOSXInDarkMode(butPtr->tkwin) &&
mbPtr->drawinfo.state != kThemeStatePressed &&
!(mbPtr->drawinfo.adornment & kThemeAdornmentDefault)) {