X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0badb709a86b91a203416784b649e3d00c699c7..008a26557841f39519df1eeb3d32b1ea0910e91d:/src/generic/tipwin.cpp diff --git a/src/generic/tipwin.cpp b/src/generic/tipwin.cpp index 1dd67eafb3..12087b7b4b 100644 --- a/src/generic/tipwin.cpp +++ b/src/generic/tipwin.cpp @@ -31,14 +31,13 @@ #ifndef WX_PRECOMP #include "wx/dcclient.h" #include "wx/timer.h" + #include "wx/settings.h" #endif // WX_PRECOMP #ifdef __WXGTK__ #include #endif -#include "wx/settings.h" - // ---------------------------------------------------------------------------- // constants // ---------------------------------------------------------------------------- @@ -363,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();