X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/853dcc57c6e5ba58e9e546c65ca4965256f3ac21..e3b81044ee30ead362ba6e1bf95af13248afe41c:/include/wx/palmos/choice.h?ds=sidebyside diff --git a/include/wx/palmos/choice.h b/include/wx/palmos/choice.h index ed1a42aca1..e978c2d869 100644 --- a/include/wx/palmos/choice.h +++ b/include/wx/palmos/choice.h @@ -65,16 +65,16 @@ public: // 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 int DoInsert(const wxString& item, unsigned int pos); + virtual void Delete(unsigned int n); virtual void Clear(); - virtual int GetCount() const; + virtual unsigned int GetCount() const; virtual int GetSelection() const; virtual void SetSelection(int n); - 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); @@ -82,10 +82,10 @@ 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; + virtual void DoSetItemClientObject(unsigned int n, wxClientData* clientData); + virtual wxClientData* DoGetItemClientObject(unsigned int n) const; // MSW implementation virtual wxSize DoGetBestSize() const;