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:
@@ -688,7 +688,7 @@ int wxRadioBox::GetItemFromPoint(const wxPoint& point) const
|
||||
for ( wxRadioBoxButtonsInfoList::compatibility_iterator
|
||||
node = m_buttonsInfo.GetFirst(); node; node = node->GetNext(), n++ )
|
||||
{
|
||||
if ( m_buttonsInfo[n]->rect.Inside(pt) )
|
||||
if ( m_buttonsInfo[n]->rect.Contains(pt) )
|
||||
return n;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user