From 8b001346df250405a7525cf2605d386cfb625e26 Mon Sep 17 00:00:00 2001 From: Alex Bligh Date: Sat, 22 Jul 2006 13:58:53 +0000 Subject: [PATCH] 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 --- src/aui/framemanager.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index 2ef35747dd..f4a6092772 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -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(); -- 2.47.2