X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf104bf71bbdb913072f93ac7cd6ab0cabfeb669..ffbf7f6634ebdce1055ec21256c4fd3e3bd410c8:/src/mac/carbon/listctrl_mac.cpp diff --git a/src/mac/carbon/listctrl_mac.cpp b/src/mac/carbon/listctrl_mac.cpp index 9bc3cb2247..21b7bd0b84 100644 --- a/src/mac/carbon/listctrl_mac.cpp +++ b/src/mac/carbon/listctrl_mac.cpp @@ -1056,12 +1056,12 @@ bool wxListCtrl::SetColumnWidth(int col, int width) for (int column = 0; column < GetColumnCount(); column++) { wxListItem colInfo; - GetColumn(col, colInfo); + GetColumn(column, colInfo); colInfo.SetWidth(width); - SetColumn(col, colInfo); + SetColumn(column, colInfo); - m_dbImpl->SetColumnWidth(col, mywidth); + m_dbImpl->SetColumnWidth(column, mywidth); } } else