made wxTree/ListCtrl::HitTest() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2852,11 +2852,9 @@ void wxGenericTreeCtrl::OnChar( wxKeyEvent &event )
|
||||
}
|
||||
}
|
||||
|
||||
wxTreeItemId wxGenericTreeCtrl::DoTreeHitTest(const wxPoint& point, int& flags)
|
||||
wxTreeItemId
|
||||
wxGenericTreeCtrl::DoTreeHitTest(const wxPoint& point, int& flags) const
|
||||
{
|
||||
// JACS: removed wxYieldIfNeeded() because it can cause the window
|
||||
// to be deleted from under us if a close window event is pending
|
||||
|
||||
int w, h;
|
||||
GetSize(&w, &h);
|
||||
flags=0;
|
||||
|
Reference in New Issue
Block a user