diff --git a/include/wx/generic/dataview.h b/include/wx/generic/dataview.h index 247a30d253..e01d681123 100644 --- a/include/wx/generic/dataview.h +++ b/include/wx/generic/dataview.h @@ -137,15 +137,6 @@ public: if ( width == m_width ) return; - // Normally we don't update it here as this method is called by - // UpdateColumnSizes() which resizes the column automatically, and not - // "manually", but if it's the first time the width is being set for a - // column created with the default width, do set m_manuallySetWidth in - // order to prevent the column from becoming narrower than its initial - // size when the control is resized, as this is unexpected. - if ( m_width == -1 ) - m_manuallySetWidth = width; - m_width = width; UpdateWidth(); }