X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/853dcc57c6e5ba58e9e546c65ca4965256f3ac21..8228b8932abaedadbf9568bb3a1eef3ae25fb2a3:/include/wx/mac/classic/listbox.h diff --git a/include/wx/mac/classic/listbox.h b/include/wx/mac/classic/listbox.h index 67a7e895eb..3e77885df7 100644 --- a/include/wx/mac/classic/listbox.h +++ b/include/wx/mac/classic/listbox.h @@ -81,13 +81,13 @@ public: const wxString& name = wxListBoxNameStr); virtual ~wxListBox(); - virtual void Refresh(bool eraseBack = TRUE, const wxRect *rect = NULL); + virtual void Refresh(bool eraseBack = true, const wxRect *rect = NULL); // implement base class pure virtuals 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; @@ -156,7 +156,7 @@ protected: // prevent collision with some BSD definitions of macro Free() void FreeData(); - int m_noItems; + size_t m_noItems; int m_selected; wxString m_typeIn ; long m_lastTypeIn ;