remove duplicated HitTest implementation from wxCheckListBox, it already inherits wxListBox::HitTest() (which was however lacking an overload taking 2 coordinates, added now)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-01-25 18:10:24 +00:00
parent 44e7bad0d4
commit 0a03dc7a13
4 changed files with 7 additions and 23 deletions

View File

@@ -91,8 +91,10 @@ public:
// event.GetExtraLong())
void Command(wxCommandEvent& event);
// returns the item number at a point or wxNOT_FOUND
// return the index of the item at this position or wxNOT_FOUND
int HitTest(const wxPoint& point) const { return DoListHitTest(point); }
int HitTest(int x, int y) const { return DoListHitTest(wxPoint(x, y)); }
// For generating events in multiple and extended mode
wxArrayInt m_oldSelections;