Remove unused variable "Point topleft" in ScrollRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1382,7 +1382,6 @@ void wxMacControl::ScrollRect( wxRect *r , int dx , int dy )
|
|||||||
{
|
{
|
||||||
Rect bounds ;
|
Rect bounds ;
|
||||||
GetControlBounds( m_controlRef , &bounds ) ;
|
GetControlBounds( m_controlRef , &bounds ) ;
|
||||||
Point topleft = { bounds.top , bounds.left } ;
|
|
||||||
bounds.left += r->x ;
|
bounds.left += r->x ;
|
||||||
bounds.top += r->y ;
|
bounds.top += r->y ;
|
||||||
bounds.bottom = bounds.top + r->height ;
|
bounds.bottom = bounds.top + r->height ;
|
||||||
|
Reference in New Issue
Block a user