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];
|
||||
|
||||
[self addTrackingArea:trackingArea];
|
||||
[super updateTrackingAreas];
|
||||
}
|
||||
|
||||
- (void)keyDown:(NSEvent *)event
|
||||
|
Loading…
Reference in New Issue
Block a user