X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdaf613add176525ed8b6cafaf278dfd80f85074..721a4a08bce5245dd748a9f4c64c5d25a02e8155:/src/mac/listbox.cpp diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index 05cc0e249a..4e737dc2f6 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -20,7 +20,7 @@ #include "wx/log.h" #include "wx/utils.h" -#ifdef __UNIX__ +#ifdef __DARWIN__ #include "ldef/extldef.h" #else #include "extldef.h" @@ -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 ) ;