X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..8084f8b7c6dd538fce55d2542e9b2e70bc69f760:/include/wx/palmos/choice.h?ds=sidebyside diff --git a/include/wx/palmos/choice.h b/include/wx/palmos/choice.h index 81062d7b19..1cffe80f7b 100644 --- a/include/wx/palmos/choice.h +++ b/include/wx/palmos/choice.h @@ -64,18 +64,18 @@ public: const wxString& name = wxChoiceNameStr); // implement base class pure virtuals - virtual int DoAppend(const wxString& item); - virtual int DoInsert(const wxString& item, int pos); - virtual void Delete(int n); - virtual void Clear(); + virtual int DoInsertItems(const wxArrayStringsAdapter& items, + unsigned int pos, + void **clientData, wxClientDataType type); + virtual void DoDeleteOneItem(unsigned int n); + virtual void DoClear(); - virtual int GetCount() const; + virtual unsigned int GetCount() const; virtual int GetSelection() const; virtual void SetSelection(int n); - virtual int FindString(const wxString& s) const; - virtual wxString GetString(int n) const; - virtual void SetString(int n, const wxString& s); + virtual wxString GetString(unsigned int n) const; + virtual void SetString(unsigned int n, const wxString& s); // MSW only virtual bool MSWCommand(WXUINT param, WXWORD id); @@ -83,10 +83,8 @@ public: protected: virtual void DoMoveWindow(int x, int y, int width, int height); - 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; + virtual void DoSetItemClientData(unsigned int n, void* clientData); + virtual void* DoGetItemClientData(unsigned int n) const; // MSW implementation virtual wxSize DoGetBestSize() const;