{ int iIndex = Index(Item); \
wxCHECK2_MSG( iIndex != wxNOT_FOUND, return, \
_WX_ERROR_REMOVE); \
- wxBaseArray::Remove((size_t)iIndex); } \
+ wxBaseArray::RemoveAt((size_t)iIndex); } \
\
void Sort(CMPFUNC##T fCmp) { wxBaseArray::Sort((CMPFUNC)fCmp); } \
}
{ int iIndex = Index(Item); \
wxCHECK2_MSG( iIndex != wxNOT_FOUND, return, \
_WX_ERROR_REMOVE ); \
- wxBaseArray::Remove((size_t)iIndex); } \
+ wxBaseArray::RemoveAt((size_t)iIndex); } \
\
private: \
SCMPFUNC##T m_fnCompare; \
wxCHECK_RET( iIndex != wxNOT_FOUND,
wxT("removing inexistent item in wxArray::Remove") );
- Remove((size_t)iIndex);
+ RemoveAt((size_t)iIndex);
}
// sort array elements using passed comparaison function