// implements an extended interface deriving from this one)
// ----------------------------------------------------------------------------
// implements an extended interface deriving from this one)
// ----------------------------------------------------------------------------
// this is the same as SetSelection( for single-selection controls but
// reads better for multi-selection ones
// this is the same as SetSelection( for single-selection controls but
// reads better for multi-selection ones
// in this case DoInsertItem() needs to be overridden.
// ----------------------------------------------------------------------------
// in this case DoInsertItem() needs to be overridden.
// ----------------------------------------------------------------------------
wxASSERT_MSG( GetClientDataType() != wxClientData_Void,
_T("can't mix different types of client data") );
wxASSERT_MSG( GetClientDataType() != wxClientData_Void,
_T("can't mix different types of client data") );
- return AppendItems(items, wx_reinterpret_cast(void **, clientData),
+ return AppendItems(items, reinterpret_cast<void **>(clientData),
_T("can't mix different types of client data") );
return InsertItems(items, pos,
_T("can't mix different types of client data") );
return InsertItems(items, pos,
wxClientData* GetClientObject(unsigned int n) const \
{ return wxItemContainer::GetClientObject(n); }
wxClientData* GetClientObject(unsigned int n) const \
{ return wxItemContainer::GetClientObject(n); }