Fix redraw problems with hint rectangle when there is no transparency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9fabaac49c
commit
8b001346df
@ -2540,6 +2540,11 @@ void wxFrameManager::ShowHint(const wxRect& rect)
|
||||
}
|
||||
}
|
||||
|
||||
// As we can only hide the hint by redrawing the managed window, we
|
||||
// need to clip the region to the managed window too or we get
|
||||
// nasty redrawn problems.
|
||||
clip.Intersect(m_frame->GetRect());
|
||||
|
||||
screendc.SetClippingRegion(clip);
|
||||
|
||||
wxBitmap stipple = wxPaneCreateStippleBitmap();
|
||||
|
Loading…
Reference in New Issue
Block a user