Line-up interfaces to use size_t for GetCount()s (and count related api).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#if wxUSE_COMBOBOX
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
@@ -260,9 +261,9 @@ void wxComboBox::Delete(int nIndex)
|
||||
m_Datas.RemoveAt(nIndex);
|
||||
}
|
||||
|
||||
int wxComboBox::GetCount() const
|
||||
size_t wxComboBox::GetCount() const
|
||||
{
|
||||
return [GetNSComboBox() numberOfItems];
|
||||
return (size_t)[GetNSComboBox() numberOfItems];
|
||||
}
|
||||
|
||||
wxString wxComboBox::GetString(int nIndex) const
|
||||
|
||||
Reference in New Issue
Block a user