]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/listbox.cpp
fixed client area handling for wxFrame/Univ
[wxWidgets.git] / 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() )
     {