Compilation fix for wxOSX: don't use CGPointMake()

Use NSMakePoint() to, well, make the point.

This should have been in 33d8d4e57c but the
wrong function was inadvertently used (and still compiled somehow...).

See #15385.
This commit is contained in:
Vadim Zeitlin 2016-02-05 01:28:14 +01:00
parent 9b3367a45f
commit 01e09e534f

View File

@ -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