From: Stefan Csomor Date: Sat, 25 Aug 2001 15:40:52 +0000 (+0000) Subject: corrected OWNER_DRAWN Remove to RemoveAt in Delete X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0baac61e4fb22dd99ad1f6d12a09c55e3a9d94f8?ds=inline corrected OWNER_DRAWN Remove to RemoveAt in Delete git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index e281c6a66e..b17715ec55 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -195,7 +195,7 @@ void wxListBox::Delete(int N) #if wxUSE_OWNER_DRAWN delete m_aItems[N]; - m_aItems.Remove(N); + m_aItems.RemoveAt(N); #else // !wxUSE_OWNER_DRAWN if ( HasClientObjectData() ) { diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index e281c6a66e..b17715ec55 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -195,7 +195,7 @@ void wxListBox::Delete(int N) #if wxUSE_OWNER_DRAWN delete m_aItems[N]; - m_aItems.Remove(N); + m_aItems.RemoveAt(N); #else // !wxUSE_OWNER_DRAWN if ( HasClientObjectData() ) {