]> git.saurik.com Git - wxWidgets.git/commitdiff
there is no need to call UpdateColumn() in the derived class UpdateColumnWidthToFit...
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Dec 2008 19:17:55 +0000 (19:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Dec 2008 19:17:55 +0000 (19:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/headerctrlcmn.cpp

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