summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/inc/osx/salinst.h1
-rw-r--r--vcl/osx/salinst.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/vcl/inc/osx/salinst.h b/vcl/inc/osx/salinst.h
index 6d9a8d662818..8a88a2616f73 100644
--- a/vcl/inc/osx/salinst.h
+++ b/vcl/inc/osx/salinst.h
@@ -147,7 +147,6 @@ public:
static const short AppExecuteSVMain = 0x7fff;
static const short AppEndLoopEvent = 1;
static const short AppStartTimerEvent = 10;
- static const short AppleRemoteEvent = 15;
static const short YieldWakeupEvent = 20;
static NSMenu* GetDynamicDockMenu();
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index 2fce74cf598a..b779109bc5f5 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -475,7 +475,7 @@ void AquaSalInstance::handleAppDefinedEvent( NSEvent* pEvent )
}
break;
#if !HAVE_FEATURE_MACOSX_SANDBOX
- case AppleRemoteEvent:
+ case AppleRemoteControlEvent: // Defined in <apple_remote/RemoteMainController.h>
{
sal_Int16 nCommand = 0;
SalData* pSalData = GetSalData();