X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=bbtk%2Fsrc%2FbbcreaMaracasVisuPanelButtonContainer.cxx;h=3386357f1cf69e8dd0194e822b1aeda64496169a;hb=a7017a8ade695bd14a4c7ee70b197d63b5e76765;hp=35900cfad843931d77bba74600ba9a97f7ecab2f;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx b/bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx index 35900cf..3386357 100644 --- a/bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx +++ b/bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx @@ -42,10 +42,13 @@ PanelButtonContainer::Process( ) { ButtonContainerSettings* settings = new ButtonContainerSettings( ); printf("EED PanelButtonContainer::Process %d\n", bbGetInputIn( ).size() ); - settings->AddButtons( bbGetInputIn( ) ); + + + settings->AddButtons(bbGetInputIn( ), bbGetInputType()); + - PBContainer* panel = new PBContainer( myPanel, settings ); - wxBoxSizer* sizer = new wxBoxSizer( wxHORIZONTAL ); + PBContainer* panel = new PBContainer( myPanel, settings, bbGetInputType() ); + wxBoxSizer* sizer = new wxBoxSizer( wxHORIZONTAL ); sizer->Add( panel, 1, wxEXPAND, 0 ); this->myPanel->SetSizer(sizer); @@ -71,7 +74,7 @@ void PanelButtonContainer::CreateWidget( wxWindow* parent ) void PanelButtonContainer::bbUserSetDefaultValues( ) { - + bbSetInputType(0); } //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)