X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e5f6c7c609dd0b478b95df672af4093a7a5b3ac..808260ec3235941ec45f50baca8dbf3655498f24:/include/wx/gtk/listbox.h diff --git a/include/wx/gtk/listbox.h b/include/wx/gtk/listbox.h index c855e3d688..aa38ecd895 100644 --- a/include/wx/gtk/listbox.h +++ b/include/wx/gtk/listbox.h @@ -65,8 +65,8 @@ public: const wxString& name = wxListBoxNameStr); // implement base class pure virtuals - virtual void Clear(); - virtual void Delete(unsigned int n); + virtual void DoClear(); + virtual void DoDeleteOneItem(unsigned int n); virtual unsigned int GetCount() const; virtual wxString GetString(unsigned int n) const; @@ -98,8 +98,6 @@ public: bool m_blockEvent; struct _GtkTreeEntry* GtkGetEntry(unsigned pos) const; - void GtkInsertItems(const wxArrayString& items, - void** clientData, unsigned int pos); void GtkDeselectAll(); void GtkSetSelection(int n, const bool select, const bool blockEvent); @@ -109,14 +107,14 @@ protected: virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; virtual void DoSetSelection(int n, bool select); - virtual int DoAppend(const wxString& item); - virtual void DoInsertItems(const wxArrayString& items, unsigned int pos); - virtual void DoSetItems(const wxArrayString& items, void **clientData); + + 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 void DoSetItemClientObject(unsigned int n, wxClientData* clientData); - virtual wxClientData* DoGetItemClientObject(unsigned int n) const; virtual int DoListHitTest(const wxPoint& point) const; // get the iterator for the given index, returns false if invalid