summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXMenu.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2015-11-25 03:13:02 (GMT)
committerKevin Walzer <kw@codebykevin.com>2015-11-25 03:13:02 (GMT)
commit57cc7a1263efc1ed40efe21a399bc3e30014c831 (patch)
tree488f2e6ce16f942a290281b14b92dc3705430ff7 /macosx/tkMacOSXMenu.c
parent5fcd3c99f6c166c9c95aa18e969007e83092b282 (diff)
downloadtk-57cc7a1263efc1ed40efe21a399bc3e30014c831.zip
tk-57cc7a1263efc1ed40efe21a399bc3e30014c831.tar.gz
tk-57cc7a1263efc1ed40efe21a399bc3e30014c831.tar.bz2
Remove multiple deprecated internal API calls on OS X; streamline Apple Events implementation; thanks to Marc Culler for extensive patches
Diffstat (limited to 'macosx/tkMacOSXMenu.c')
-rw-r--r--macosx/tkMacOSXMenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXMenu.c b/macosx/tkMacOSXMenu.c
index ed22640..0c078ce 100644
--- a/macosx/tkMacOSXMenu.c
+++ b/macosx/tkMacOSXMenu.c
@@ -792,7 +792,7 @@ TkpPostMenu(
NSRect frame = NSMakeRect(x + 9, tkMacOSXZeroScreenHeight - y - 9, 1, 1);
frame.origin = [view convertPoint:
- [win convertScreenToBase:frame.origin] fromView:nil];
+ [win convertPointFromScreen:frame.origin] fromView:nil];
NSMenu *menu = (NSMenu *) menuPtr->platformData;
NSPopUpButtonCell *popUpButtonCell = [[NSPopUpButtonCell alloc]