fix many mostly harmless warnings in wxOSX/Carbon build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1646,9 +1646,9 @@ void wxNonOwnedWindowCarbonImpl::ScreenToWindow( int *x, int *y )
|
||||
HIViewFindByID( HIViewGetRoot( m_macWindow ), kHIViewWindowContentID , &contentView) ;
|
||||
HIPointConvert( &p, kHICoordSpace72DPIGlobal, NULL, kHICoordSpaceView, contentView );
|
||||
if ( x )
|
||||
*x = p.x;
|
||||
*x = (int)p.x;
|
||||
if ( y )
|
||||
*y = p.y;
|
||||
*y = (int)p.y;
|
||||
}
|
||||
|
||||
void wxNonOwnedWindowCarbonImpl::WindowToScreen( int *x, int *y )
|
||||
@@ -1659,9 +1659,9 @@ void wxNonOwnedWindowCarbonImpl::WindowToScreen( int *x, int *y )
|
||||
HIViewFindByID( HIViewGetRoot( m_macWindow ), kHIViewWindowContentID , &contentView) ;
|
||||
HIPointConvert( &p, kHICoordSpaceView, contentView, kHICoordSpace72DPIGlobal, NULL );
|
||||
if ( x )
|
||||
*x = p.x;
|
||||
*x = (int)p.x;
|
||||
if ( y )
|
||||
*y = p.y;
|
||||
*y = (int)p.y;
|
||||
}
|
||||
|
||||
wxNonOwnedWindowImpl* wxNonOwnedWindowImpl::CreateNonOwnedWindow( wxNonOwnedWindow* wxpeer, wxWindow* parent, const wxPoint& pos, const wxSize& size,
|
||||
|
||||
Reference in New Issue
Block a user