]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxListCtrl.cxx
#3481 More inputs in wx ListCtrl box
[bbtk.git] / packages / wx / src / bbwxListCtrl.cxx
index 9f06a830376555f350c0900921c4bf13a8b64032..5dcef49147ff8df244530b36134a92c58bbd2836 100644 (file)
@@ -28,20 +28,25 @@ void ListCtrl::Process()
     unsigned int j,jSize=bbGetInputColumn00().size();
        for (j=0;j<jSize;j++)
        {
-          lstctrl->InsertItem(j, bbtk::std2wx("0") );
-          lstctrl->SetItem(j,0, bbtk::std2wx( bbGetInputColumn00()[j] ) );
+        lstctrl->InsertItem(j, bbtk::std2wx("0") );
+        lstctrl->SetItem(j,0, bbtk::std2wx( bbGetInputColumn00()[j] ) );
           
-          if ((bbGetInputColumn01().size()==jSize ) && (1<iSize) ) { lstctrl->SetItem(j,1, bbtk::std2wx( bbGetInputColumn01()[j] ) ); }
-          if ((bbGetInputColumn02().size()==jSize ) && (2<iSize) ) { lstctrl->SetItem(j,2, bbtk::std2wx( bbGetInputColumn02()[j] ) ); }
-          if ((bbGetInputColumn03().size()==jSize ) && (3<iSize) ) { lstctrl->SetItem(j,3, bbtk::std2wx( bbGetInputColumn03()[j] ) ); }
-          if ((bbGetInputColumn04().size()==jSize ) && (4<iSize) ) { lstctrl->SetItem(j,4, bbtk::std2wx( bbGetInputColumn04()[j] ) ); }
-          if ((bbGetInputColumn05().size()==jSize ) && (5<iSize) ) { lstctrl->SetItem(j,5, bbtk::std2wx( bbGetInputColumn05()[j] ) ); }
-          if ((bbGetInputColumn06().size()==jSize ) && (6<iSize) ) { lstctrl->SetItem(j,6, bbtk::std2wx( bbGetInputColumn06()[j] ) ); }
-          if ((bbGetInputColumn07().size()==jSize ) && (7<iSize) ) { lstctrl->SetItem(j,7, bbtk::std2wx( bbGetInputColumn07()[j] ) ); }
-          if ((bbGetInputColumn08().size()==jSize ) && (8<iSize) ) { lstctrl->SetItem(j,8, bbtk::std2wx( bbGetInputColumn08()[j] ) ); }
-          if ((bbGetInputColumn09().size()==jSize ) && (9<iSize) ) { lstctrl->SetItem(j,9, bbtk::std2wx( bbGetInputColumn09()[j] ) ); }
-          if ((bbGetInputColumn10().size()==jSize ) && (10<iSize)) { lstctrl->SetItem(j,10,bbtk::std2wx( bbGetInputColumn10()[j] ) ); }
-         
+        if ((bbGetInputColumn01().size()==jSize ) && (1<iSize) ) { lstctrl->SetItem(j,1, bbtk::std2wx( bbGetInputColumn01()[j] ) ); }
+        if ((bbGetInputColumn02().size()==jSize ) && (2<iSize) ) { lstctrl->SetItem(j,2, bbtk::std2wx( bbGetInputColumn02()[j] ) ); }
+        if ((bbGetInputColumn03().size()==jSize ) && (3<iSize) ) { lstctrl->SetItem(j,3, bbtk::std2wx( bbGetInputColumn03()[j] ) ); }
+        if ((bbGetInputColumn04().size()==jSize ) && (4<iSize) ) { lstctrl->SetItem(j,4, bbtk::std2wx( bbGetInputColumn04()[j] ) ); }
+        if ((bbGetInputColumn05().size()==jSize ) && (5<iSize) ) { lstctrl->SetItem(j,5, bbtk::std2wx( bbGetInputColumn05()[j] ) ); }
+        if ((bbGetInputColumn06().size()==jSize ) && (6<iSize) ) { lstctrl->SetItem(j,6, bbtk::std2wx( bbGetInputColumn06()[j] ) ); }
+        if ((bbGetInputColumn07().size()==jSize ) && (7<iSize) ) { lstctrl->SetItem(j,7, bbtk::std2wx( bbGetInputColumn07()[j] ) ); }
+        if ((bbGetInputColumn08().size()==jSize ) && (8<iSize) ) { lstctrl->SetItem(j,8, bbtk::std2wx( bbGetInputColumn08()[j] ) ); }
+        if ((bbGetInputColumn09().size()==jSize ) && (9<iSize) ) { lstctrl->SetItem(j,9, bbtk::std2wx( bbGetInputColumn09()[j] ) ); }
+        if ((bbGetInputColumn10().size()==jSize ) && (10<iSize)) { lstctrl->SetItem(j,10,bbtk::std2wx( bbGetInputColumn10()[j] ) ); }
+        if ((bbGetInputColumn11().size()==jSize ) && (10<iSize)) { lstctrl->SetItem(j,11,bbtk::std2wx( bbGetInputColumn11()[j] ) ); }
+        if ((bbGetInputColumn12().size()==jSize ) && (10<iSize)) { lstctrl->SetItem(j,12,bbtk::std2wx( bbGetInputColumn12()[j] ) ); }
+        if ((bbGetInputColumn13().size()==jSize ) && (10<iSize)) { lstctrl->SetItem(j,13,bbtk::std2wx( bbGetInputColumn13()[j] ) ); }
+        if ((bbGetInputColumn14().size()==jSize ) && (10<iSize)) { lstctrl->SetItem(j,14,bbtk::std2wx( bbGetInputColumn14()[j] ) ); }
+        if ((bbGetInputColumn15().size()==jSize ) && (10<iSize)) { lstctrl->SetItem(j,15,bbtk::std2wx( bbGetInputColumn15()[j] ) ); }
+
        } // for j