]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove unused variable "Point topleft" in ScrollRect
authorKevin Hock <hockkn@yahoo.com>
Sun, 3 Apr 2005 18:20:03 +0000 (18:20 +0000)
committerKevin Hock <hockkn@yahoo.com>
Sun, 3 Apr 2005 18:20:03 +0000 (18:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/utils.cpp

index 00a59e4527677c1006833039b00557c4748b5391..235bf424b1079fa94d9cc130905b327ceb7a53c9 100644 (file)
@@ -1382,7 +1382,6 @@ void wxMacControl::ScrollRect( wxRect *r , int dx , int dy )
        {
                Rect bounds ;
                GetControlBounds( m_controlRef , &bounds ) ;
-               Point topleft = { bounds.top , bounds.left } ;
                bounds.left += r->x ;
                bounds.top += r->y ;
                bounds.bottom = bounds.top + r->height ;