Remove the deprecated convertScreenToBase and convertBaseToScreen.
This commit is contained in:
parent
623e3ebc03
commit
915a6196cc
2 changed files with 6 additions and 4 deletions
|
@ -58,8 +58,8 @@
|
|||
// Convert the event's location from the original window's coordinates into
|
||||
// our own.
|
||||
NSPoint eventLoc = [event locationInWindow];
|
||||
eventLoc = [[event window] convertBaseToScreen:eventLoc];
|
||||
eventLoc = [self convertScreenToBase:eventLoc];
|
||||
eventLoc = [self convertRectFromScreen:
|
||||
[[event window] convertRectToScreen:NSMakeRect(eventLoc.x, eventLoc.y, 0, 0)]].origin;
|
||||
|
||||
// Various things *only* apply to key down/up.
|
||||
BOOL eventIsARepeat = NO;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue