fixed unused variable warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-07-12 15:47:27 +00:00
parent c720661949
commit 6ea4a2661d
2 changed files with 5 additions and 6 deletions

View File

@@ -1695,8 +1695,8 @@ void wxMacControl::Convert( wxPoint *pt , wxMacControl *from , wxMacControl *to
hiPoint.x = pt->x ;
hiPoint.y = pt->y ;
HIViewConvertPoint( &hiPoint , from->m_controlRef , to->m_controlRef ) ;
pt->x = hiPoint.x ;
pt->y = hiPoint.y ;
pt->x = (int)hiPoint.x ;
pt->y = (int)hiPoint.y ;
#endif
}
@@ -1723,7 +1723,6 @@ void wxMacControl::GetRectInWindowCoords( Rect *r )
void wxMacControl::GetBestRect( Rect *r )
{
Rect bestsize = { 0 , 0 , 0 , 0 } ;
short baselineoffset ;
GetBestControlRect( m_controlRef , r , &baselineoffset ) ;
}