wxUniv/MSW compilation fix after wxDC changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -169,7 +169,8 @@ void wxClientDCImpl::InitDC()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// clip the DC to avoid overwriting the non client area
|
// clip the DC to avoid overwriting the non client area
|
||||||
SetClippingRegion(wxPoint(0,0), m_window->GetClientSize());
|
wxSize size = m_window->GetClientSize();
|
||||||
|
DoSetClippingRegion(0, 0, size.x, size.y);
|
||||||
#endif // __WXUNIVERSAL__ || __WXWINCE__
|
#endif // __WXUNIVERSAL__ || __WXWINCE__
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user