]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix redraw problems with hint rectangle when there is no transparency
authorAlex Bligh <alex@alex.org.uk>
Sat, 22 Jul 2006 13:58:53 +0000 (13:58 +0000)
committerAlex Bligh <alex@alex.org.uk>
Sat, 22 Jul 2006 13:58:53 +0000 (13:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index 2ef35747ddb600f904d456cca8572f15f2445cac..f4a6092772f9a2d6a4f86cf7497d807e32622266 100644 (file)
@@ -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();