From: Eduardo DAVILA Date: Mon, 21 Jun 2021 13:34:05 +0000 (+0200) Subject: Clean Code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e0dc2a2686f3adac4432cd72557b7b26b8fbfa19;p=bbtk.git Clean Code --- diff --git a/packages/wx/src/bbwxComboBox.cxx b/packages/wx/src/bbwxComboBox.cxx index 0a1a99e..37f5338 100644 --- a/packages/wx/src/bbwxComboBox.cxx +++ b/packages/wx/src/bbwxComboBox.cxx @@ -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); } //=====