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:
@@ -10629,9 +10629,10 @@ wxCoord wxGrid::CalcColOrRowLabelAreaMinSize(wxGridDirection direction)
|
|||||||
for ( int rowOrCol = 0; rowOrCol < numRowsOrCols; rowOrCol++ )
|
for ( int rowOrCol = 0; rowOrCol < numRowsOrCols; rowOrCol++ )
|
||||||
{
|
{
|
||||||
lines.Clear();
|
lines.Clear();
|
||||||
StringToLines(calcRows ? GetRowLabelValue(rowOrCol)
|
|
||||||
: GetColLabelValue(rowOrCol),
|
wxString label = calcRows ? GetRowLabelValue(rowOrCol)
|
||||||
lines);
|
: GetColLabelValue(rowOrCol);
|
||||||
|
StringToLines(label, lines);
|
||||||
|
|
||||||
long w, h;
|
long w, h;
|
||||||
GetTextBoxSize(dc, lines, &w, &h);
|
GetTextBoxSize(dc, lines, &w, &h);
|
||||||
|
Reference in New Issue
Block a user