Lines Matching refs:nrows
1273 int wxGridSizer::CalcRowsCols(int& nrows, int& ncols) const
1281 nrows = (nitems + m_cols - 1) / m_cols;
1286 nrows = m_rows;
1292 nrows = ncols = 0;
1301 int nitems, nrows, ncols;
1302 if ( (nitems = CalcRowsCols(nrows, ncols)) == 0 )
1309 int h = (sz.y - (nrows - 1) * m_vgap) / nrows;
1315 for (int r = 0; r < nrows; r++)
1334 int nrows, ncols;
1335 if ( CalcRowsCols(nrows, ncols) == 0 )
1355 nrows * h + (nrows-1) * m_vgap );
1416 int nitems, nrows, ncols;
1417 if ( (nitems = CalcRowsCols(nrows, ncols)) == 0 )
1423 AdjustForGrowables(sz, m_calculatedMinSize, nrows, ncols);
1431 for (int r = 0; r < nrows; r++)
1455 int nrows,
1460 if ( !CalcRowsCols(nrows, ncols) )
1463 m_rowHeights.SetCount(nrows);
1508 for (int row = 0; row < nrows; row++)
1553 int nrows, int ncols)
1567 if (m_growableRows[idx] >= nrows)
1584 if (m_growableRows[idx] >= nrows )
1601 for ( int row = 0; row < nrows; ++row )
1602 m_rowHeights[ row ] = sz.y / nrows;