X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..1ea9acd9aa1b0e5fa3f7bef3db4eca77822bfe35:/include/wx/gtk/choice.h diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index 28a5efdcc0..1ae716df6f 100644 --- a/include/wx/gtk/choice.h +++ b/include/wx/gtk/choice.h @@ -69,7 +69,7 @@ public: int GetCurrentSelection() const { return GetSelection(); } void SetSelection( int n ); - virtual int GetCount() const; + virtual size_t GetCount() const; virtual int FindString(const wxString& s, bool bCase = false) const; wxString GetString( int n ) const; void SetString( int n, const wxString& string ); @@ -95,7 +95,7 @@ protected: private: // common part of Create() and DoAppend() - int GtkAddHelper(GtkWidget *menu, int pos, const wxString& item); + int GtkAddHelper(GtkWidget *menu, size_t pos, const wxString& item); // this array is only used for controls with wxCB_SORT style, so only // allocate it if it's needed (hence using pointer)