renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user