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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user