X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ee6e1b1d9c31045c74b8bb9cea0e47c6899d8b5d..211cc8dc907ee50ca6d383b8df16bba9a4d3ce2d:/src/msw/checklst.cpp diff --git a/src/msw/checklst.cpp b/src/msw/checklst.cpp index 808a4b4f7f..a0e585cb5f 100644 --- a/src/msw/checklst.cpp +++ b/src/msw/checklst.cpp @@ -45,7 +45,7 @@ #include #include -#ifdef __GNUWIN32_OLD__ +#if defined(__GNUWIN32_OLD__) #include "wx/msw/gnuwin32/extra.h" #endif @@ -296,7 +296,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)