fixed wxMac's wxListCtrl::SetColumnWidth(-1, ...) to really set width for every column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1061,12 +1061,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
|
||||
|
Reference in New Issue
Block a user