GridSizer::GetRows() doesn't seem to get the actual number of rows in
the grid, just what you've set it to initially. The docs say that if
you set the number of rows to zero, the appropriate number of rows
will be created based on the number of items you add to the sizer.
But GetRows still returns zero in that case. Is there a way to get
the actual number of rows?
GridSizer::GetRows() doesn't seem to get the actual number of rows in
the grid, just what you've set it to initially. The docs say that if
you set the number of rows to zero, the appropriate number of rows
will be created based on the number of items you add to the sizer. But GetRows still returns zero in that case. Is there a way to get
the actual number of rows?