Fix typo and a leftover.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
986a59561a
commit
40fc5b2f71
@ -4238,7 +4238,7 @@ unsigned int wxDataViewCtrl::GetBestColumnWidth(int idx) const
|
||||
calculator.UpdateWithRow(row);
|
||||
}
|
||||
|
||||
// row is the first unmeasured item now; that's out value of N/2
|
||||
// row is the first unmeasured item now; that's our value of N/2
|
||||
|
||||
if ( row < count )
|
||||
{
|
||||
@ -4278,8 +4278,6 @@ unsigned int wxDataViewCtrl::GetBestColumnWidth(int idx) const
|
||||
|
||||
const_cast<wxDataViewCtrl*>(this)->m_colsBestWidths[idx] = max_width;
|
||||
return max_width;
|
||||
|
||||
#undef MEASURE_ITEM
|
||||
}
|
||||
|
||||
void wxDataViewCtrl::ColumnMoved(wxDataViewColumn * WXUNUSED(col),
|
||||
|
Loading…
Reference in New Issue
Block a user