typo in AutosizeRowOrCol fixed (bug 115437)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-11-25 23:23:41 +00:00
parent 9354814833
commit ee495e4cab

View File

@@ -8106,7 +8106,7 @@ void wxGrid::AutoSizeColOrRow( int colOrRow, bool setAsMin, bool column )
if ( column )
dc.GetTextExtent( GetColLabelValue(col), &w, &h );
else
dc.GetTextExtent( GetRowLabelValue(col), &w, &h );
dc.GetTextExtent( GetRowLabelValue(row), &w, &h );
extent = column ? w : h;
if ( extent > extentMax )