summaryrefslogtreecommitdiff
path: root/vcl/osx/saltimer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx/saltimer.cxx')
-rw-r--r--vcl/osx/saltimer.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/osx/saltimer.cxx b/vcl/osx/saltimer.cxx
index 55593e64ea0d..4c33c321d729 100644
--- a/vcl/osx/saltimer.cxx
+++ b/vcl/osx/saltimer.cxx
@@ -32,10 +32,7 @@
void ImplNSAppPostEvent( short nEventId, BOOL bAtStart, int nUserData )
{
ReleasePoolHolder aPool;
-SAL_WNODEPRECATED_DECLARATIONS_PUSH
-// 'NSApplicationDefined' is deprecated: first deprecated in macOS 10.12
- NSEvent* pEvent = [NSEvent otherEventWithType: NSApplicationDefined
-SAL_WNODEPRECATED_DECLARATIONS_POP
+ NSEvent* pEvent = [NSEvent otherEventWithType: NSEventTypeApplicationDefined
location: NSZeroPoint
modifierFlags: 0
timestamp: [[NSProcessInfo processInfo] systemUptime]