diff --git a/src/propgrid/property.cpp b/src/propgrid/property.cpp index e42c635e85..740cb00284 100644 --- a/src/propgrid/property.cpp +++ b/src/propgrid/property.cpp @@ -1607,11 +1607,8 @@ void wxPGProperty::EnsureCells( unsigned int column ) defaultCell = pg->GetCategoryDefaultCell(); } - // TODO: Replace with resize() call - unsigned int cellCountMax = column+1; - - for ( unsigned int i=m_cells.size(); i