]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/checklst.cpp
Applied patch sent to me for xpmdecod.cpp/VC++ compilation, and changed
[wxWidgets.git] / src / os2 / checklst.cpp
index cb94c109e256fab7032e4f8f5f73c1d0aa620863..366f87d7f89d8bcbb6d320c2011ab80229eba532 100644 (file)
@@ -277,7 +277,7 @@ void wxCheckListBox::Delete(int N)
     // free memory
     delete m_aItems[N];
 
-    m_aItems.Remove(N);
+    m_aItems.RemoveAt(N);
 }
 
 void wxCheckListBox::InsertItems(int nItems, const wxString items[], int pos)