Add phase method forgotten in last commit.

This commit is contained in:
fredkiefer 2017-07-22 20:38:39 +02:00
parent a02b40a9dd
commit 6f22d6429e
2 changed files with 7 additions and 0 deletions

View file

@ -434,6 +434,7 @@ typedef NSUInteger NSEventSwipeTrackingOptions;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
- (NSEventPhase) phase;
- (NSEventPhase) momentumPhase;
#endif
@end

View file

@ -1234,6 +1234,12 @@ static const char *eventTypes[] = {
return 0;
}
- (NSEventPhase) phase
{
// FIXME
return NSEventPhaseNone;
}
- (NSEventPhase) momentumPhase
{
// FIXME