]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tipwin.cpp
Added creation of printer DC to printer factory.
[wxWidgets.git] / src / generic / tipwin.cpp
index 36dd8b550a987929eefb378f933cf769c67c179e..12087b7b4b838565f27af2ca741420db9f5d4560 100644 (file)
@@ -362,7 +362,7 @@ void wxTipWindowView::OnMouseMove(wxMouseEvent& event)
     const wxRect& rectBound = m_parent->m_rectBound;
 
     if ( rectBound.width &&
-            !rectBound.Inside(ClientToScreen(event.GetPosition())) )
+            !rectBound.Contains(ClientToScreen(event.GetPosition())) )
     {
         // mouse left the bounding rect, disappear
         m_parent->Close();