X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51a229c65f93a8fbb0c80dcec98ba3fc9c95ad2f..fb93b610c5991b12bd6404fe1fc08fd60a30615c:/src/mac/listbox.cpp diff --git a/src/mac/listbox.cpp b/src/mac/listbox.cpp index e281c6a66e..cb3a39dbd9 100644 --- a/src/mac/listbox.cpp +++ b/src/mac/listbox.cpp @@ -32,7 +32,7 @@ BEGIN_EVENT_TABLE(wxListBox, wxControl) END_EVENT_TABLE() #endif -#include +#include "wx/mac/uma.h" extern "C" void MacDrawStringCell(Rect *cellRect, Cell lCell, ListHandle theList, long refCon) ; const short kwxMacListWithVerticalScrollbar = 128 ; @@ -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() ) {