X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/214c4fbea5875368cc21a082d20cb082cd38cb3c..bc50a2ae95f2ab36b16ceedc7902a9cbfb2f70ea:/wxPython/src/_listbox.i?ds=sidebyside diff --git a/wxPython/src/_listbox.i b/wxPython/src/_listbox.i index 565dea0bd1..ef426b07a0 100644 --- a/wxPython/src/_listbox.i +++ b/wxPython/src/_listbox.i @@ -106,6 +106,8 @@ public: // return True if this listbox is sorted bool IsSorted() const; + // return the index of the item at this position or wxNOT_FOUND + int HitTest(const wxPoint& pt) const; %extend { void SetItemForegroundColour(int item, const wxColour& c) { @@ -170,9 +172,6 @@ public: int GetItemHeight(); #endif - // return the index of the item at this position or wxNOT_FOUND - int HitTest(const wxPoint& pt) const; - %Rename(HitTestXY, int, HitTest(wxCoord x, wxCoord y) const); }; //---------------------------------------------------------------------------