+ struct _GtkTreeEntry* GtkGetEntry(unsigned pos) const;
+
+ void GtkDisableEvents();
+ void GtkEnableEvents();
+
+protected:
+ virtual void DoClear();
+ virtual void DoDeleteOneItem(unsigned int n);
+ virtual wxSize DoGetBestSize() const;
+ virtual void DoApplyWidgetStyle(GtkRcStyle *style);
+ virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
+
+ virtual void DoSetSelection(int n, bool select);
+
+ virtual int DoInsertItems(const wxArrayStringsAdapter& items,
+ unsigned int pos,
+ void **clientData, wxClientDataType type);
+
+ virtual void DoSetFirstItem(int n);
+ 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;
+
+ // set the specified item
+ void GtkSetItem(_GtkTreeIter& iter, const _GtkTreeEntry *entry);
+
+ // common part of DoSetFirstItem() and EnsureVisible()
+ void DoScrollToCell(int n, float alignY, float alignX);
+