From c47f97e02f463934bfceb97107d60d411f40fd2a Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 13 Jun 2019 11:00:31 +0200 Subject: [PATCH] pl_editor: fix a very minor wxWidgets alert. --- pagelayout_editor/dialogs/properties_frame_base.cpp | 2 +- pagelayout_editor/dialogs/properties_frame_base.fbp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pagelayout_editor/dialogs/properties_frame_base.cpp b/pagelayout_editor/dialogs/properties_frame_base.cpp index 9321c3196f..ef30345262 100644 --- a/pagelayout_editor/dialogs/properties_frame_base.cpp +++ b/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 ); diff --git a/pagelayout_editor/dialogs/properties_frame_base.fbp b/pagelayout_editor/dialogs/properties_frame_base.fbp index 2e48e4f29c..12b0cefb28 100644 --- a/pagelayout_editor/dialogs/properties_frame_base.fbp +++ b/pagelayout_editor/dialogs/properties_frame_base.fbp @@ -246,7 +246,7 @@ 5 - wxEXPAND|wxALIGN_CENTER_VERTICAL|wxALL + wxALL|wxEXPAND 0 1