]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx
#2507 creaMaracasVisu Feature New Normal - creaPanelButtonContainer ListPanel
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuPanelButtonContainer.cxx
index abbdd39f219392c8c0b1fe61f4d3e67b552ffb05..882d3d0d675cb402b6ec07afe81de64fedac567f 100644 (file)
@@ -43,14 +43,8 @@ PanelButtonContainer::Process( )
        ButtonContainerSettings* settings = new ButtonContainerSettings( );
        printf("EED PanelButtonContainer::Process %d\n", bbGetInputIn( ).size() );
 
-       //if(bbGetInputType()== "1")
-       //{
-         // settings->AddItems(bbGetInputIn());
-          
-       //}
-       //else {
-         settings->AddButtons(bbGetInputIn( ));
-       //}
+
+         settings->AddButtons(bbGetInputIn( ), bbGetInputType());
 
        
        PBContainer* panel = new PBContainer( myPanel, settings, bbGetInputType() );
@@ -80,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)