X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbcreaMaracasVisuPanelButtonContainer.cxx;h=3386357f1cf69e8dd0194e822b1aeda64496169a;hb=a7017a8ade695bd14a4c7ee70b197d63b5e76765;hp=36954640326f102df186a2fffd347cccd12a383b;hpb=e56917cf6685c5f490e28eefc8807114d3999cd2;p=creaMaracasVisu.git diff --git a/bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx b/bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx index 3695464..3386357 100644 --- a/bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx +++ b/bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx @@ -42,9 +42,12 @@ 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 ); + 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)