X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f8b4a3fbe730e5843de98529cc2c1b03a7910ef..ba597ca8315df299a603990df4e0f334e3f21f6a:/contrib/src/gizmos/multicell.cpp diff --git a/contrib/src/gizmos/multicell.cpp b/contrib/src/gizmos/multicell.cpp index 49ece0103f..d50fd58826 100644 --- a/contrib/src/gizmos/multicell.cpp +++ b/contrib/src/gizmos/multicell.cpp @@ -380,12 +380,9 @@ wxSize wxMultiCellSizer::CalcMin() if (m_children.GetCount() == 0) return wxSize(10,10); - int m_minWidth = 0; - int m_minHeight = 0; - GetMinimums(); - m_minWidth = Sum(m_maxWidth, m_cell_count.GetWidth()); - m_minHeight = Sum(m_maxHeight, m_cell_count.GetHeight()); + int m_minWidth = Sum(m_maxWidth, m_cell_count.GetWidth()); + int m_minHeight = Sum(m_maxHeight, m_cell_count.GetHeight()); return wxSize( m_minWidth, m_minHeight ); } //---------------------------------------------------------------------------