there is no need to call UpdateColumn() in the derived class UpdateColumnWidthToFit(), the base class does it already if the latter returns true

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-12-11 19:17:55 +00:00
parent 93e4e62b92
commit 4db4c0173b

View File

@@ -227,7 +227,6 @@ wxHeaderCtrlSimple::UpdateColumnWidthToFit(unsigned int idx, int widthTitle)
return false;
m_cols[idx].SetWidth(wxMax(widthContents, widthTitle));
UpdateColumn(idx);
return true;
}