X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbcreaMaracasVisuPanelButtonContainer.cxx;h=004b8dab40d2e312bf33d32e6fa57fcc225f5861;hb=4b2a99534d79424c7892e09160a1488604741064;hp=b98efdd3cf714fecfad05e23edf5ae2fe85ffc7e;hpb=3c6c4d236dd41550927d9180688f40c127301431;p=creaMaracasVisu.git diff --git a/bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx b/bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx index b98efdd..004b8da 100644 --- a/bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx +++ b/bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx @@ -42,11 +42,7 @@ PanelButtonContainer::Process( ) { ButtonContainerSettings* settings = new ButtonContainerSettings( ); printf("EED PanelButtonContainer::Process %d\n", bbGetInputIn( ).size() ); - - - settings->InitModel(bbGetInputIn( ), bbGetInputType()); - - + settings->InitModel(bbGetInputIn( ), bbGetInputType()); PBContainer* panel = new PBContainer( myPanel, settings, bbGetInputType() ); wxBoxSizer* sizer = new wxBoxSizer( wxHORIZONTAL ); sizer->Add( panel, 1, wxEXPAND, 0 ); @@ -65,8 +61,8 @@ void PanelButtonContainer::CreateWidget( wxWindow* parent ) this->myPanel = new wxPanel( parent, -1 ); /// \TODO fix warning: unused variable ww wxWindow* ww = bbCreateWidgetOfInput( "In", this->myPanel ); - bbSetOutputWidget( myPanel); - + ww=NULL; + bbSetOutputWidget( myPanel ); } //===== // 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)