Fix wxRibbonToolBar layout

Broken by 1e753f97ba (Remove initializations which are the default value, 2019-02-25)
See #18985
This commit is contained in:
Paul Cornett
2020-11-24 08:47:42 -08:00
parent feebe8e763
commit 32c8b4dc8c

View File

@@ -789,6 +789,8 @@ bool wxRibbonToolBar::Realize()
for(nrows = m_nrows_min; nrows <= m_nrows_max; ++nrows)
{
for(r = 0; r < nrows; ++r)
row_sizes[r] = wxSize(0, 0);
for(g = 0; g < group_count; ++g)
{
wxRibbonToolBarToolGroup* group = m_groups.Item(g);