BCC5.5 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
50eeb96fbe
commit
add4bb4044
@ -10629,9 +10629,10 @@ wxCoord wxGrid::CalcColOrRowLabelAreaMinSize(wxGridDirection direction)
|
||||
for ( int rowOrCol = 0; rowOrCol < numRowsOrCols; rowOrCol++ )
|
||||
{
|
||||
lines.Clear();
|
||||
StringToLines(calcRows ? GetRowLabelValue(rowOrCol)
|
||||
: GetColLabelValue(rowOrCol),
|
||||
lines);
|
||||
|
||||
wxString label = calcRows ? GetRowLabelValue(rowOrCol)
|
||||
: GetColLabelValue(rowOrCol);
|
||||
StringToLines(label, lines);
|
||||
|
||||
long w, h;
|
||||
GetTextBoxSize(dc, lines, &w, &h);
|
||||
|
Loading…
Reference in New Issue
Block a user