corrected scroll rect position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2329,6 +2329,8 @@ void wxWindowMac::ScrollWindow(int dx, int dy, const wxRect *rect)
|
|||||||
HIViewRender(*m_peer) ;
|
HIViewRender(*m_peer) ;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
// as the native control might be not a 0/0 wx window coordinates, we have to offset
|
||||||
|
scrollrect.Offset( -MacGetLeftBorderSize() , -MacGetTopBorderSize() ) ;
|
||||||
m_peer->ScrollRect( scrollrect , dx , dy ) ;
|
m_peer->ScrollRect( scrollrect , dx , dy ) ;
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user