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:
parent
9b3367a45f
commit
01e09e534f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user