]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/listbox.cpp
added test for writing empty value to the config
[wxWidgets.git] / src / os2 / listbox.cpp
index 516ab66b2e2fb96ee4672958009552b36067a790..83a4d9e826e914147b83b435bfe600859b2b4aa5 100644 (file)
@@ -209,7 +209,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() )
     {