From a9f6025fde4186a24c347b471a62965da56957a8 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Sat, 14 Jan 2017 11:34:47 +0100 Subject: [PATCH] #3054 BBTK Bug New Normal - package wx - combo box. crash with empty input --- packages/wx/src/bbwxComboBox.cxx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/packages/wx/src/bbwxComboBox.cxx b/packages/wx/src/bbwxComboBox.cxx index 3684725..27e69d0 100644 --- a/packages/wx/src/bbwxComboBox.cxx +++ b/packages/wx/src/bbwxComboBox.cxx @@ -163,21 +163,12 @@ BBTK_BLACK_BOX_IMPLEMENTATION(ComboBox,bbtk::WxBlackBox); //===== void ComboBox::Process() { - -printf("EED ComboBox::Process start\n"); - int iSelection = bbGetInputSelection(); -printf("EED ComboBox::Process 0\n"); if (bbGetInputSelection() >= bbGetInputIn().size()) { iSelection=bbGetInputIn().size()-1; } -printf("EED ComboBox::Process 1\n"); ComboBoxWidget *w = (ComboBoxWidget*)bbGetOutputWidget(); -printf("EED ComboBox::Process 2\n"); w->FillItems( iSelection, bbGetInputIn() ); -printf("EED ComboBox::Process 3\n"); bbSetInputSelection( iSelection ); -printf("EED ComboBox::Process 4\n"); bbSetOutputOut( iSelection ); -printf("EED ComboBox::Process 5\n"); int size = bbGetInputIn().size(); if ( (iSelection>0) && ( (size-1)<=iSelection) ) @@ -186,9 +177,6 @@ printf("EED ComboBox::Process 5\n"); } // bbSignalOutputModification("Out"); // bbSignalOutputModification("OutString"); - -printf("EED ComboBox::Process end\n"); - } //===== -- 2.44.0