use wxDC::SetDeviceClippingRegion() instead of deprecated SetClippingRegion()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-06-11 11:41:44 +00:00
parent 67c595a6bd
commit f84fb4ad9e
2 changed files with 3 additions and 3 deletions

View File

@@ -1206,7 +1206,7 @@ void wxWindowX11::SendEraseEvents()
if (m_clearRegion.IsEmpty()) return;
wxClientDC dc( (wxWindow*)this );
dc.SetClippingRegion( m_clearRegion );
dc.SetDeviceClippingRegion( m_clearRegion );
wxEraseEvent erase_event( GetId(), &dc );
erase_event.SetEventObject( this );