ButtonGroupFactory factory;
ListGroupFactory listFactory;
- //this->SetButtonGroupContainer( factory.CreateButtonGroupContainer( this, settings ) );
+ //MLER this->SetButtonGroupContainer( factory.CreateButtonGroupContainer( this, settings ) );
std::cout<< std::endl << " MLER buttonContainerPanel.cxx / ButtonContainerPanel() :: type " << type<<std::endl;
switch (type)
break;
case 1:
this->SetListGroupContainer(listFactory.CreateButtonGroupContainer( this, settings ) );
- //Verificar ButtonGroupList contra ListGroupList
+ // MLER Verificar ButtonGroupList contra ListGroupList
break;
default:
this->SetButtonGroupContainer(factory.CreateButtonGroupContainer( this, settings ) );
wxString buttonName( wXbuttonName.c_str( ), wxConvUTF8 );
wxString description( wXdescription.c_str( ), wxConvUTF8 );
//creating the button.
- /*this->Create( parent, id,
- wXicon,
- wxDefaultPosition, wxDefaultSize,wxBU_AUTODRAW, wxDefaultValidator,
- buttonName );*/
+ //this->Create( parent, id,
+ // wXicon,
+ //wxDefaultPosition, wxDefaultSize,wxBU_AUTODRAW, wxDefaultValidator,
+ //buttonName );
this->Create( parent, id,
wxDefaultPosition, wxDefaultSize,wxLC_LIST, wxDefaultValidator,
buttonName );
this->SetToolTip( description );
+
+
+ long index = this->InsertItem(0, _("John Smith"));
+ this->SetItem(index, 1, _("jsmith"));
+
+ index = this->InsertItem(1, _("Monica"));
+ this->SetItem(index, 1, _("monica"));
+
+ index = this->InsertItem(2, _("Momo"));
+ this->SetItem(index, 2, _("momo"));
+
+
+
}
// ----------------------------------------------------------------------------------