From: Vadim Zeitlin Date: Thu, 11 Dec 2008 19:17:55 +0000 (+0000) Subject: there is no need to call UpdateColumn() in the derived class UpdateColumnWidthToFit... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4db4c0173b7d775294db6f745a975dd8001249e2?ds=sidebyside 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 --- diff --git a/src/common/headerctrlcmn.cpp b/src/common/headerctrlcmn.cpp index 75239d8151..62a03eafc9 100644 --- a/src/common/headerctrlcmn.cpp +++ b/src/common/headerctrlcmn.cpp @@ -227,7 +227,6 @@ wxHeaderCtrlSimple::UpdateColumnWidthToFit(unsigned int idx, int widthTitle) return false; m_cols[idx].SetWidth(wxMax(widthContents, widthTitle)); - UpdateColumn(idx); return true; }