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:
@@ -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);
|
||||||
|
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user