mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-27 04:28:52 -05:00
Behavior differences under Lion and Snow Leopard in updateTrackingAreas.
super call added. According to documentation (NSView Class Reference -> Instance Methods -> updateTrackingAreas): You should override this method to remove out of date tracking areas and add recomputed tracking areas; your implementation should call super.
This commit is contained in:
parent
bfc746a847
commit
287e94cd6b
|
@ -425,6 +425,7 @@ static int convertMacKeyCode(unsigned int macKeyCode)
|
||||||
userInfo:nil];
|
userInfo:nil];
|
||||||
|
|
||||||
[self addTrackingArea:trackingArea];
|
[self addTrackingArea:trackingArea];
|
||||||
|
[super updateTrackingAreas];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)keyDown:(NSEvent *)event
|
- (void)keyDown:(NSEvent *)event
|
||||||
|
|
Loading…
Reference in New Issue
Block a user