restored DC clipping in wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -486,12 +486,10 @@ void wxScrollHelper::DoPrepareDC(wxDC& dc)
|
||||
|
||||
// for wxUniversal we need to set the clipping region to avoid overwriting
|
||||
// the scrollbars with the user drawing
|
||||
#if 0 //def __WXUNIVERSAL__
|
||||
wxSize size = m_win->GetClientSize();
|
||||
dc.SetClippingRegion(m_xScrollPosition * m_xScrollPixelsPerLine,
|
||||
m_yScrollPosition * m_yScrollPixelsPerLine,
|
||||
size.x, size.y);
|
||||
#endif // __WXUNIVERSAL__
|
||||
}
|
||||
|
||||
void wxScrollHelper::GetScrollPixelsPerUnit (int *x_unit, int *y_unit) const
|
||||
|
Reference in New Issue
Block a user