summaryrefslogtreecommitdiff
path: root/vcl/aqua
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-10-21 16:54:35 -0200
committerMichael Meeks <michael.meeks@suse.com>2011-10-21 20:48:03 +0100
commitb0224f8050373cbdde58c3dee1bbda71976b50b6 (patch)
treed04b160b0c28c9be5446130234b995e6fe150bd8 /vcl/aqua
parent7bf06ba95d6ba0e673f2aff5b4412dbf08702590 (diff)
Fix for bug fdo#41997, cleanup vcl enumeration
Diffstat (limited to 'vcl/aqua')
-rw-r--r--vcl/aqua/source/app/salinst.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx
index 489b1dd8a6b2..63d657ce4f39 100644
--- a/vcl/aqua/source/app/salinst.cxx
+++ b/vcl/aqua/source/app/salinst.cxx
@@ -875,7 +875,7 @@ bool AquaSalInstance::AnyInput( sal_uInt16 nType )
}
unsigned/*NSUInteger*/ nEventMask = 0;
- if( nType & INPUT_MOUSE)
+ if( nType & VCL_INPUT_MOUSE)
nEventMask |=
NSLeftMouseDownMask | NSRightMouseDownMask | NSOtherMouseDownMask |
NSLeftMouseUpMask | NSRightMouseUpMask | NSOtherMouseUpMask |
@@ -883,7 +883,7 @@ bool AquaSalInstance::AnyInput( sal_uInt16 nType )
NSScrollWheelMask |
// NSMouseMovedMask |
NSMouseEnteredMask | NSMouseExitedMask;
- if( nType & INPUT_KEYBOARD)
+ if( nType & VCL_INPUT_KEYBOARD)
nEventMask |= NSKeyDownMask | NSKeyUpMask | NSFlagsChangedMask;
if( nType & INPUT_OTHER)
nEventMask |= NSTabletPoint;