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:
@@ -227,7 +227,6 @@ wxHeaderCtrlSimple::UpdateColumnWidthToFit(unsigned int idx, int widthTitle)
|
||||
return false;
|
||||
|
||||
m_cols[idx].SetWidth(wxMax(widthContents, widthTitle));
|
||||
UpdateColumn(idx);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user