const void *GetItem(size_type idx) const
{
- wxASSERT(idx >= 0 && idx < m_size);
+ wxASSERT(idx < m_size);
return m_objects[idx];
}
void RemoveAt(size_type idx)
{
- wxASSERT(idx >= 0 && idx < m_size);
+ wxASSERT(idx < m_size);
Free(m_objects[idx]);
if (idx < m_size - 1)
memcpy(
}\
public:\
cls() {}\
- cls(const cls& c)\
+ cls(const cls& c) : wxVectorBase()\
{\
wxCHECK2(copy(c), return);\
}\