wxCHECK_MSG(columnPtr != NULL, false,"Column pointer must not be NULL.");
wxCHECK_MSG(columnPtr->GetRenderer() != NULL, false,"Column does not have a renderer.");
wxCHECK_MSG(GetModel() != NULL, false,"No model associated with control.");
- wxCHECK_MSG((columnPtr->GetModelColumn() >= 0) &&
- (columnPtr->GetModelColumn() < GetModel()->GetColumnCount()),false,"Column's model column has no equivalent in the associated model.");
+ wxCHECK_MSG(columnPtr->GetModelColumn() < GetModel()->GetColumnCount(),false,"Column's model column has no equivalent in the associated model.");
// add column to wxWidget's internal structure:
if (wxDataViewCtrlBase::InsertColumn(pos,columnPtr))