]> Creatis software - bbtk.git/commitdiff
Clean Code
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 21 Jun 2021 13:34:05 +0000 (15:34 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 21 Jun 2021 13:34:05 +0000 (15:34 +0200)
packages/wx/src/bbwxComboBox.cxx

index 0a1a99e909831c5397b8f1ee73266c6532182cbe..37f5338385e81efa8f8185470558cdb7b6d6c83b 100644 (file)
@@ -240,7 +240,6 @@ BBTK_BLACK_BOX_IMPLEMENTATION(ComboBox,bbtk::WxBlackBox);
 void ComboBox::Process()
 {
        int iSelection = bbGetInputSelection();
- printf("ComboBox::Process A iSelection=%d\n", iSelection);   
 //     if (bbGetInputSelection() >= bbGetInputIn().size()) { iSelection=bbGetInputIn().size()-1; }
        if (bbGetInputSelection() >= bbGetInputIn().size()) { iSelection=0; }
        ComboBoxWidget *w = (ComboBoxWidget*)bbGetOutputWidget();
@@ -252,7 +251,6 @@ void ComboBox::Process()
     { 
        bbSetOutputOutString( bbGetInputIn()[ iSelection ] );
     } // if iSelection
- printf("ComboBox::Process B iSelection=%d\n", iSelection);   
        w->VerifyDeselect(iSelection);
 }
 //=====