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:
@@ -2056,7 +2056,7 @@ WXLRESULT wxTreeCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara
|
||||
GetBoundingRect(event.m_item, ItemRect, false);
|
||||
// If the point is inside the bounding rectangle, use it as the click position.
|
||||
// This should be the case for WM_CONTEXTMENU as the result of a right-click
|
||||
if (ItemRect.Inside(MenuPoint))
|
||||
if (ItemRect.Contains(MenuPoint))
|
||||
{
|
||||
event.m_pointDrag = MenuPoint;
|
||||
}
|
||||
|
Reference in New Issue
Block a user