diff options
author | culler <culler> | 2020-06-25 21:13:06 (GMT) |
---|---|---|
committer | culler <culler> | 2020-06-25 21:13:06 (GMT) |
commit | c39f5ebc7d27445e60fac3c51ba0b88034a00bff (patch) | |
tree | 3343d17d55644f6b10eae15826757e5c6e221e95 /macosx/tkMacOSXMenus.c | |
parent | 7a39ccec01ad0c3a6cc0f7fa1662f92f87c58dd1 (diff) | |
parent | 89f5a6802f0e3aa56d0f612913683dc432646bd0 (diff) | |
download | tk-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.c | 2 |
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: |