diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index 2eb606f6f1..7c58d590b9 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -4718,6 +4718,8 @@ unsigned int wxDataViewCtrl::GetBestColumnWidth(int idx) const GetModel(), column->GetModelColumn(), m_clientArea->GetRowHeight()); + calculator.UpdateWithWidth(column->GetMinWidth()); + if ( m_headerArea ) calculator.UpdateWithWidth(m_headerArea->GetColumnTitleWidth(*column));