Fix assert where wxFormBuilder rows disagreed with controls.

This commit is contained in:
Jeff Young 2018-08-27 14:49:49 +01:00
parent 8fe5ff612d
commit f1ef18edcb
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ DIALOG_GRAPHIC_ITEM_PROPERTIES_BASE::DIALOG_GRAPHIC_ITEM_PROPERTIES_BASE( wxWind
wxBoxSizer* bUpperSizer; wxBoxSizer* bUpperSizer;
bUpperSizer = new wxBoxSizer( wxHORIZONTAL ); bUpperSizer = new wxBoxSizer( wxHORIZONTAL );
m_fgUpperLeftGridSizer = new wxFlexGridSizer( 4, 3, 0, 0 ); m_fgUpperLeftGridSizer = new wxFlexGridSizer( 8, 3, 0, 0 );
m_fgUpperLeftGridSizer->AddGrowableCol( 1 ); m_fgUpperLeftGridSizer->AddGrowableCol( 1 );
m_fgUpperLeftGridSizer->SetFlexibleDirection( wxBOTH ); m_fgUpperLeftGridSizer->SetFlexibleDirection( wxBOTH );
m_fgUpperLeftGridSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED ); m_fgUpperLeftGridSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );

View File

@ -116,7 +116,7 @@
<property name="name">m_fgUpperLeftGridSizer</property> <property name="name">m_fgUpperLeftGridSizer</property>
<property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property> <property name="non_flexible_grow_mode">wxFLEX_GROWMODE_SPECIFIED</property>
<property name="permission">protected</property> <property name="permission">protected</property>
<property name="rows">4</property> <property name="rows">8</property>
<property name="vgap">0</property> <property name="vgap">0</property>
<object class="sizeritem" expanded="0"> <object class="sizeritem" expanded="0">
<property name="border">5</property> <property name="border">5</property>