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:
@@ -1022,7 +1022,7 @@ int wxListBox::DoListHitTest(const wxPoint& point) const
|
||||
{
|
||||
// gtk_tree_view_get_path_at_pos() also gets items that are not visible and
|
||||
// we only want visible items we need to check for it manually here
|
||||
if ( !GetClientRect().Inside(point) )
|
||||
if ( !GetClientRect().Contains(point) )
|
||||
return wxNOT_FOUND;
|
||||
|
||||
// need to translate from master window since it is in client coords
|
||||
|
Reference in New Issue
Block a user