X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c00fed0ef4d70c9b45d9b8405f636d30eadb7ea6..dfa0b52f4ac947d5e7566dabb81c39bbf881fac5:/include/wx/msw/listbox.h diff --git a/include/wx/msw/listbox.h b/include/wx/msw/listbox.h index 1ed147948b..0e9cf02d40 100644 --- a/include/wx/msw/listbox.h +++ b/include/wx/msw/listbox.h @@ -81,7 +81,7 @@ public: virtual void Clear(); virtual void Delete(int n); - virtual int GetCount() const; + virtual size_t GetCount() const; virtual wxString GetString(int n) const; virtual void SetString(int n, const wxString& s); virtual int FindString(const wxString& s, bool bCase = false) const; @@ -147,7 +147,7 @@ protected: // free memory (common part of Clear() and dtor) void Free(); - int m_noItems; + size_t m_noItems; int m_selected; virtual wxSize DoGetBestSize() const;