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
This commit is contained in:
Stefan Csomor
2001-08-25 15:40:52 +00:00
parent fc4f1d5f6b
commit 0baac61e4f
2 changed files with 2 additions and 2 deletions

View 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() )
{

View 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() )
{