X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdaf613add176525ed8b6cafaf278dfd80f85074..acc0ebd7a871124d4d6b36069340227e6c584f38:/src/mac/listbox.cpp diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index 05cc0e249a..4624d820db 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -166,7 +166,7 @@ void wxListBox::Delete(int N) } #endif // wxUSE_OWNER_DRAWN/!wxUSE_OWNER_DRAWN m_stringArray.Remove( N ) ; - m_dataArray.Remove( N ) ; + m_dataArray.RemoveAt( N ) ; m_noItems --; MacDelete( N ) ;