summaryrefslogtreecommitdiff
path: root/src/macos.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/macos.m')
-rw-r--r--src/macos.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/macos.m b/src/macos.m
index d737e9e8..784a8612 100644
--- a/src/macos.m
+++ b/src/macos.m
@@ -570,7 +570,11 @@ static NSMenuItem *makeMenuItems_(NSMenu *menu, MenuCommands *commands, const iM
570 deinit_String(&itemTitle); 570 deinit_String(&itemTitle);
571 [item setTarget:commands]; 571 [item setTarget:commands];
572 if (isChecked) { 572 if (isChecked) {
573#if defined (__MAC_10_13)
573 [item setState:NSControlStateValueOn]; 574 [item setState:NSControlStateValueOn];
575#else
576 [item setState:NSOnState];
577#endif
574 selectedItem = item; 578 selectedItem = item;
575 } 579 }
576 [item setEnabled:!isDisabled]; 580 [item setEnabled:!isDisabled];