don't use deprecate SetClippingRegion(wxRegion)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-06-09 15:52:04 +00:00
parent 78b8320770
commit c1bc8d9f92
3 changed files with 3 additions and 3 deletions

View File

@@ -3231,7 +3231,7 @@ void wxAuiManager::ShowHint(const wxRect& rect)
// nasty redrawn problems. // nasty redrawn problems.
clip.Intersect(m_frame->GetRect()); clip.Intersect(m_frame->GetRect());
screendc.SetClippingRegion(clip); screendc.SetDeviceClippingRegion(clip);
wxBitmap stipple = wxPaneCreateStippleBitmap(); wxBitmap stipple = wxPaneCreateStippleBitmap();
wxBrush brush(stipple); wxBrush brush(stipple);

View File

@@ -7819,7 +7819,7 @@ void wxGrid::DrawAllGridLines( wxDC& dc, const wxRegion & WXUNUSED(reg) )
} }
} }
dc.SetClippingRegion( clippedcells ); dc.SetDeviceClippingRegion( clippedcells );
// horizontal grid lines // horizontal grid lines

View File

@@ -3569,7 +3569,7 @@ void wxWindowGTK::GtkSendPaintEvents()
else else
{ {
wxWindowDC dc( (wxWindow*)this ); wxWindowDC dc( (wxWindow*)this );
dc.SetClippingRegion( m_updateRegion ); dc.SetDeviceClippingRegion( m_updateRegion );
// Work around gtk-qt <= 0.60 bug whereby the window colour // Work around gtk-qt <= 0.60 bug whereby the window colour
// remains grey // remains grey