git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40129
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
int nrows, ncols;
if ( CalcRowsCols(nrows, ncols) == 0 )
{
int nrows, ncols;
if ( CalcRowsCols(nrows, ncols) == 0 )
// Find the max width and height for any component
int w = 0;
// Find the max width and height for any component
int w = 0;
// Number of rows/columns can change as items are added or removed.
if ( !CalcRowsCols(nrows, ncols) )
// Number of rows/columns can change as items are added or removed.
if ( !CalcRowsCols(nrows, ncols) )
m_rowHeights.SetCount(nrows);
m_colWidths.SetCount(ncols);
m_rowHeights.SetCount(nrows);
m_colWidths.SetCount(ncols);
wxSize wxBoxSizer::CalcMin()
{
if (m_children.GetCount() == 0)
wxSize wxBoxSizer::CalcMin()
{
if (m_children.GetCount() == 0)
m_stretchable = 0;
m_minWidth = 0;
m_stretchable = 0;
m_minWidth = 0;