summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorculler <culler>2021-11-01 20:01:49 (GMT)
committerculler <culler>2021-11-01 20:01:49 (GMT)
commitba2697a06bbbb5c5589b38509e7fb620841cf154 (patch)
treeda75e863cd863f6d932d8bbc6649e625831c0151
parentb60832afff8d31b3b9d0bba6b1d428a28d4ef45a (diff)
downloadtk-ba2697a06bbbb5c5589b38509e7fb620841cf154.zip
tk-ba2697a06bbbb5c5589b38509e7fb620841cf154.tar.gz
tk-ba2697a06bbbb5c5589b38509e7fb620841cf154.tar.bz2
Big Sur too.
-rw-r--r--macosx/tkMacOSXButton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c
index a613a76..54717a8 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] < 120000) {
+ if ([NSApp macOSVersion] < 110000) {
if (TkMacOSXInDarkMode(butPtr->tkwin) &&
mbPtr->drawinfo.state != kThemeStatePressed &&
!(mbPtr->drawinfo.adornment & kThemeAdornmentDefault)) {