]> Creatis software - bbtk.git/commitdiff
#3212 BBTK Feature New Normal - vtk8itk4wx3-mingw64
authorEduardo DAVILA <davila@ei-ed-606.creatis.insa-lyon.fr>
Thu, 6 Dec 2018 14:38:21 +0000 (15:38 +0100)
committerEduardo DAVILA <davila@ei-ed-606.creatis.insa-lyon.fr>
Thu, 6 Dec 2018 14:38:21 +0000 (15:38 +0100)
packages/wx/src/bbwxComboBox.cxx

index d0872ddff2a4cd4edf56b35c8efb347217e7dc49..3c03e1545a20faa251cc6c9724844497a0f2a212 100644 (file)
@@ -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 );