this->SetSizer(sizer);
listBox = new wxListBox(this,-1);
+ m_functorEnabled = true;
std::cout << "is ListBox"<< listBox->GetId()<< std::endl;
// this->Connect( -1,wxEVT_COMMAND_CHOICE_SELECTED,
{
if(!this->IsFunctorEnabled())
return;
+ else{
try
{
std::cout<< "MLER | ListWx::ListEvent( wxListEvent& event )" << std::endl;
- // wxString itemNom = this->GetString(this->GetSelection());
-
- // std::string itemNomC = std::string(itemNom.mb_str());
-
- //this->functor->Call(itemNomC);
-
int iSelection;
iSelection = listBox->GetSelection();
<< "ButtonContainerController::ButtonEvent( wxCommandEvent& event ) exception: "
<< e.what( ) << std::endl;
}//hctac
+ }
}
// ----------------------------------------------------------------------------------