]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbcreaMaracasVisuPanelButtonContainer.cxx
#2497 creaMaracasVisu Feature New Normal - In container button add the list option
[creaMaracasVisu.git] / bbtk / src / bbcreaMaracasVisuPanelButtonContainer.cxx
index 76119b7be6306ea4847016d207645f292fa44e9a..3f30cba3e6e3675a08b280fbbdbf51dce3b10a07 100644 (file)
@@ -45,11 +45,10 @@ PanelButtonContainer::Process( )
 
        if(bbGetInputType()== "1")
        {
-          settings->AddItems(bbGetInputIn());
-          
+//EED-MLER        settings->AddItems( bbGetInputIn() );
        }
        else {
-         settings->AddButtons(bbGetInputIn( ));
+         settings->AddButtons( bbGetInputIn() );
        }       
 
        
@@ -80,7 +79,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)