pl_editor: fix a very minor wxWidgets alert.

This commit is contained in:
jean-pierre charras 2019-06-13 11:00:31 +02:00
parent daad58e511
commit c47f97e02f
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ PANEL_PROPERTIES_BASE::PANEL_PROPERTIES_BASE( wxWindow* parent, wxWindowID id, c
int m_choicePageOptNChoices = sizeof( m_choicePageOptChoices ) / sizeof( wxString ); int m_choicePageOptNChoices = sizeof( m_choicePageOptChoices ) / sizeof( wxString );
m_choicePageOpt = new wxChoice( m_swItemProperties, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choicePageOptNChoices, m_choicePageOptChoices, 0 ); m_choicePageOpt = new wxChoice( m_swItemProperties, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choicePageOptNChoices, m_choicePageOptChoices, 0 );
m_choicePageOpt->SetSelection( 2 ); m_choicePageOpt->SetSelection( 2 );
bSizerButt->Add( m_choicePageOpt, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxALL, 5 ); bSizerButt->Add( m_choicePageOpt, 0, wxALL|wxEXPAND, 5 );
m_SizerItemProperties->Add( bSizerButt, 0, wxEXPAND, 5 ); m_SizerItemProperties->Add( bSizerButt, 0, wxEXPAND, 5 );

View File

@ -246,7 +246,7 @@
</object> </object>
<object class="sizeritem" expanded="0"> <object class="sizeritem" expanded="0">
<property name="border">5</property> <property name="border">5</property>
<property name="flag">wxEXPAND|wxALIGN_CENTER_VERTICAL|wxALL</property> <property name="flag">wxALL|wxEXPAND</property>
<property name="proportion">0</property> <property name="proportion">0</property>
<object class="wxChoice" expanded="0"> <object class="wxChoice" expanded="0">
<property name="BottomDockable">1</property> <property name="BottomDockable">1</property>