From b11f985e863d1d14474287ce703e2c92091df8cd Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Thu, 6 Dec 2018 15:38:21 +0100 Subject: [PATCH] #3212 BBTK Feature New Normal - vtk8itk4wx3-mingw64 --- packages/wx/src/bbwxComboBox.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wx/src/bbwxComboBox.cxx b/packages/wx/src/bbwxComboBox.cxx index d0872dd..3c03e15 100644 --- a/packages/wx/src/bbwxComboBox.cxx +++ b/packages/wx/src/bbwxComboBox.cxx @@ -80,9 +80,9 @@ namespace bbwx Connect( wxlistbox->GetId(), wxEVT_COMMAND_LISTBOX_SELECTED, (wxObjectEventFunction) (void (wxPanel::*)(wxEvent&))&ComboBoxWidget::OnComboBox ); } else if (mTypeForm==0) { - wxChoice *wxchoice = new wxChoice ( panel , -1); + wxChoice *wxchoice = new wxChoice ( panel , -1, wxDefaultPosition,wxSize(sizeX,sizeY)); itemcontainer=wxchoice; - sizer->Add( wxchoice,1,wxGROW ); + sizer->Add( wxchoice,1,wxEXPAND ); Connect( wxchoice->GetId(), wxEVT_COMMAND_CHOICE_SELECTED, (wxObjectEventFunction) (void (wxPanel::*)(wxEvent&))&ComboBoxWidget::OnComboBox ); -- 2.47.1