summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXMenus.c
diff options
context:
space:
mode:
authorculler <culler>2020-06-25 21:13:06 (GMT)
committerculler <culler>2020-06-25 21:13:06 (GMT)
commitc39f5ebc7d27445e60fac3c51ba0b88034a00bff (patch)
tree3343d17d55644f6b10eae15826757e5c6e221e95 /macosx/tkMacOSXMenus.c
parent7a39ccec01ad0c3a6cc0f7fa1662f92f87c58dd1 (diff)
parent89f5a6802f0e3aa56d0f612913683dc432646bd0 (diff)
downloadtk-c39f5ebc7d27445e60fac3c51ba0b88034a00bff.zip
tk-c39f5ebc7d27445e60fac3c51ba0b88034a00bff.tar.gz
tk-c39f5ebc7d27445e60fac3c51ba0b88034a00bff.tar.bz2
Aqua: replace [NSApp macMinorVersion] by [NSApp macOSVersion] event though the Big Sur (11.1) beta release identifies itself as 10.16.
Diffstat (limited to 'macosx/tkMacOSXMenus.c')
-rw-r--r--macosx/tkMacOSXMenus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXMenus.c b/macosx/tkMacOSXMenus.c
index 1029704..71b99db 100644
--- a/macosx/tkMacOSXMenus.c
+++ b/macosx/tkMacOSXMenus.c
@@ -112,7 +112,7 @@ static Tcl_Obj * GetWidgetDemoPath(Tcl_Interp *interp);
* On OS X 10.12 we get duplicate tab control items if we create them here.
*/
- if ([NSApp macMinorVersion] > 12) {
+ if ([NSApp macOSVersion] > 101200) {
_defaultWindowsMenuItems = [_defaultWindowsMenuItems
arrayByAddingObjectsFromArray:
[NSArray arrayWithObjects: