]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/controls.i
Use the iconIndex in the default case too.
[wxWidgets.git] / wxPython / src / controls.i
index aca2ea143b381dad7bac9ac181b41d61b5f99fb9..96ca6cb7b401baba153b9ecafdf21eb5f90c8de5 100644 (file)
@@ -709,6 +709,11 @@ public:
 #ifndef __WXMAC__
     int GetItemHeight();
 #endif
+
+    // return the index of the item at this position or wxNOT_FOUND
+    int HitTest(const wxPoint& pt) const;
+    %name(HitTestXY)int HitTest(wxCoord x, wxCoord y) const;
+
 };
 
 //----------------------------------------------------------------------