1. now clip wxPaintDC in its ctor
2. added wxCheckListBox git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -486,7 +486,7 @@ void wxScrollHelper::DoPrepareDC(wxDC& dc)
|
||||
|
||||
// for wxUniversal we need to set the clipping region to avoid overwriting
|
||||
// the scrollbars with the user drawing
|
||||
#ifdef __WXUNIVERSAL__
|
||||
#if 0 //def __WXUNIVERSAL__
|
||||
wxSize size = m_win->GetClientSize();
|
||||
dc.SetClippingRegion(m_xScrollPosition * m_xScrollPixelsPerLine,
|
||||
m_yScrollPosition * m_yScrollPixelsPerLine,
|
||||
|
Reference in New Issue
Block a user