X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..392c7148108181b5bef93fef22162f7bb8d19463:/include/wx/ctrlsub.h diff --git a/include/wx/ctrlsub.h b/include/wx/ctrlsub.h index 4052e56e87..20c3e5b5a4 100644 --- a/include/wx/ctrlsub.h +++ b/include/wx/ctrlsub.h @@ -47,6 +47,11 @@ public: // append several items at once to the control void Append(const wxArrayString& strings); + int Insert(const wxString& item, int pos) + { return DoInsert(item, pos); } + int Insert(const wxString& item, int pos, void *clientData); + int Insert(const wxString& item, int pos, wxClientData *clientData); + // deleting items // -------------- @@ -94,6 +99,7 @@ public: protected: virtual int DoAppend(const wxString& item) = 0; + virtual int DoInsert(const wxString& item, int pos) = 0; virtual void DoSetItemClientData(int n, void* clientData) = 0; virtual void* DoGetItemClientData(int n) const = 0;