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:
@@ -237,7 +237,7 @@ public :
|
|||||||
{
|
{
|
||||||
win->ScreenToClient( &x , &y ) ;
|
win->ScreenToClient( &x , &y ) ;
|
||||||
NSView *view = win->GetPeer()->GetWXWidget();
|
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
|
virtual void GetMenuBarDimensions(int &x, int &y, int &width, int &height) const wxOVERRIDE
|
||||||
|
Reference in New Issue
Block a user