- virtual void DoSetItemClientData(int n, void* clientData);
- virtual void* DoGetItemClientData(int n) const;
- virtual void DoSetItemClientObject(int n, wxClientData* clientData);
- virtual wxClientData* DoGetItemClientObject(int n) const;
- void DoApplyWidgetStyle(GtkRcStyle *style);
+ virtual void DoSetItemClientData(unsigned int n, void* clientData);
+ virtual void* DoGetItemClientData(unsigned int n) const;
+ virtual int DoListHitTest(const wxPoint& point) const;
+
+ // get the iterator for the given index, returns false if invalid
+ bool GTKGetIteratorFor(unsigned pos, _GtkTreeIter *iter) const;
+
+ // get the index for the given iterator, return wxNOT_FOUND on failure
+ int GTKGetIndexFor(_GtkTreeIter& iter) const;
+
+ // common part of DoSetFirstItem() and EnsureVisible()
+ void DoScrollToCell(int n, float alignY, float alignX);