X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11e62fe658531aaa2891351f19bd0a4c076717ae..d7b284e5c62523c9a43e26977672b4ff7c5b8981:/src/cocoa/listbox.mm diff --git a/src/cocoa/listbox.mm b/src/cocoa/listbox.mm index 01cba46d60..78ac457181 100644 --- a/src/cocoa/listbox.mm +++ b/src/cocoa/listbox.mm @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: cocoa/listbox.mm +// Name: src/cocoa/listbox.mm // Purpose: wxListBox // Author: David Elliott // Modified by: @@ -224,9 +224,9 @@ void wxListBox::Delete(int n) } // accessing strings -int wxListBox::GetCount() const +size_t wxListBox::GetCount() const { - return [m_cocoaItems count]; + return (size_t)[m_cocoaItems count]; } wxString wxListBox::GetString(int n) const