From 01e09e534ff82019274383046db602c22e78b209 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 5 Feb 2016 01:28:14 +0100 Subject: [PATCH] Compilation fix for wxOSX: don't use CGPointMake() Use NSMakePoint() to, well, make the point. This should have been in 33d8d4e57c14483f201da588129bfea9616da8d8 but the wrong function was inadvertently used (and still compiled somehow...). See #15385. --- src/osx/cocoa/menu.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/cocoa/menu.mm b/src/osx/cocoa/menu.mm index 3a35165d7a..8b6be54d26 100644 --- a/src/osx/cocoa/menu.mm +++ b/src/osx/cocoa/menu.mm @@ -237,7 +237,7 @@ public : { win->ScreenToClient( &x , &y ) ; NSView *view = win->GetPeer()->GetWXWidget(); - [m_osxMenu popUpMenuPositioningItem:nil atLocation:CGPointMake(x, y) inView:view]; + [m_osxMenu popUpMenuPositioningItem:nil atLocation:NSMakePoint(x, y) inView:view]; } virtual void GetMenuBarDimensions(int &x, int &y, int &width, int &height) const wxOVERRIDE