]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected OWNER_DRAWN Remove to RemoveAt in Delete
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 25 Aug 2001 15:40:52 +0000 (15:40 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 25 Aug 2001 15:40:52 +0000 (15:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/listbox.cpp
src/mac/listbox.cpp

index e281c6a66e47d636736f3311deb7be6cfa9658cb..b17715ec55978a54a7610c2253651ff8670901ed 100644 (file)
@@ -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() )
     {
index e281c6a66e47d636736f3311deb7be6cfa9658cb..b17715ec55978a54a7610c2253651ff8670901ed 100644 (file)
@@ -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() )
     {