Browse Source

pl_editor: fix a very minor wxWidgets alert.

pull/15/head
jean-pierre charras 7 years ago
parent
commit
c47f97e02f
  1. 2
      pagelayout_editor/dialogs/properties_frame_base.cpp
  2. 2
      pagelayout_editor/dialogs/properties_frame_base.fbp

2
pagelayout_editor/dialogs/properties_frame_base.cpp

@ -32,7 +32,7 @@ PANEL_PROPERTIES_BASE::PANEL_PROPERTIES_BASE( wxWindow* parent, wxWindowID id, c
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->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 );

2
pagelayout_editor/dialogs/properties_frame_base.fbp

@ -246,7 +246,7 @@
</object>
<object class="sizeritem" expanded="0">
<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>
<object class="wxChoice" expanded="0">
<property name="BottomDockable">1</property>

Loading…
Cancel
Save