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:
Václav Slavík
2006-09-13 17:12:25 +00:00
parent 23621b352c
commit 22a35096a0
30 changed files with 74 additions and 60 deletions

View File

@@ -562,7 +562,7 @@ wxDockUIPart* wxFrameManager::HitTest(int x, int y)
continue;
// if the point is inside the rectangle, we have a hit
if (item->rect.Inside(x,y))
if (item->rect.Contains(x,y))
result = item;
}
@@ -2371,7 +2371,7 @@ bool wxFrameManager::DoDrop(wxDockInfoArray& docks,
// should float if being dragged over center pane windows
if (!part->dock->fixed || part->dock->dock_direction == wxAUI_DOCK_CENTER)
{
if (m_last_rect.IsEmpty() || m_last_rect.Inside(pt.x, pt.y ))
if (m_last_rect.IsEmpty() || m_last_rect.Contains(pt.x, pt.y ))
{
m_skipping = true;
}