+#endif // wxUSE_CHECKLISTBOX
+
+ 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);
+
+private:
+ void Init(); //common construction
+
+ DECLARE_DYNAMIC_CLASS(wxListBox)