wxGridBagsizer error
Posted: Fri Jun 07, 2013 2:16 am
What it currently does
This causes assert error (not fatal yet)
adding line
at the end of grid operations gridBagSizer9 resolves the issue!
Code: Select all
wxGridBagSizer* gridBagSizer9 = new wxGridBagSizer(0, 0);
gridBagSizer9->AddGrowableCol(1);
//other grid code follows
Code: Select all
/src/common/sizer.cpp(1979): assert "!m_cols || idx < (size_t)m_cols" failed in AddGrowableCol(): invalid column index
Code: Select all
gridBagSizer9->AddGrowableCol(1);