summaryrefslogtreecommitdiff
path: root/apple_remote
diff options
context:
space:
mode:
Diffstat (limited to 'apple_remote')
-rw-r--r--apple_remote/source/RemoteMainController.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/apple_remote/source/RemoteMainController.m b/apple_remote/source/RemoteMainController.m
index 79af22fd9f3e..9e933a302880 100644
--- a/apple_remote/source/RemoteMainController.m
+++ b/apple_remote/source/RemoteMainController.m
@@ -85,6 +85,8 @@
- (void) postTheEvent: (short int)buttonIdentifier modifierFlags:(int)modifierFlags
{
+SAL_WNODEPRECATED_DECLARATIONS_PUSH
+ // 'NSApplicationDefined' is deprecated: first deprecated in macOS 10.12
[NSApp postEvent:
[NSEvent otherEventWithType:NSApplicationDefined
location:NSZeroPoint
@@ -96,6 +98,7 @@
data1: buttonIdentifier
data2: 0]
atStart: NO];
+SAL_WNODEPRECATED_DECLARATIONS_POP
}