--- /dev/null
+//=====
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//=====
+#include "bbwxListCtrl.h"
+#include "bbwxPackage.h"
+
+#include <wx/listctrl.h>
+
+namespace bbwx
+{
+
+BBTK_ADD_BLACK_BOX_TO_PACKAGE(wx,ListCtrl)
+BBTK_BLACK_BOX_IMPLEMENTATION(ListCtrl,bbtk::WxBlackBox);
+//=====
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//=====
+void ListCtrl::Process()
+{
+ wxListCtrl *lstctrl= ((wxListCtrl*)bbGetOutputWidget());
+ lstctrl->DeleteAllColumns();
+
+ unsigned int i,iSize=bbGetInputTitles().size();
+ for (i=0;i<iSize;i++)
+ {
+ lstctrl->AppendColumn( bbtk::std2wx( bbGetInputTitles()[i] ) );
+ } // for i
+
+ 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] ) );
+
+ 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] ) ); }
+
+ } // for j
+
+
+
+}
+//=====
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//=====
+void ListCtrl::CreateWidget(wxWindow* parent)
+{
+// |wxLC_NO_HEADER
+ bbSetOutputWidget( new wxListCtrl ( parent , -1, wxDefaultPosition, wxDefaultSize, wxLC_REPORT ) );
+
+}
+//=====
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//=====
+void ListCtrl::bbUserSetDefaultValues()
+{
+
+}
+//=====
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//=====
+void ListCtrl::bbUserInitializeProcessing()
+{
+
+}
+//=====
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//=====
+void ListCtrl::bbUserFinalizeProcessing()
+{
+
+}
+}
+// EO namespace bbwx
+
+
--- /dev/null
+//=====
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//=====
+#ifdef _USE_WXWIDGETS_
+#ifndef __bbwxListCtrl_h_INCLUDED__
+#define __bbwxListCtrl_h_INCLUDED__
+
+#include "bbwx_EXPORT.h"
+#include "bbtkWxBlackBox.h"
+
+namespace bbwx
+{
+
+class bbwx_EXPORT ListCtrl
+ :
+ public bbtk::WxBlackBox
+{
+ BBTK_BLACK_BOX_INTERFACE(ListCtrl,bbtk::WxBlackBox);
+//=====
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//=====
+ BBTK_DECLARE_INPUT(Titles,std::vector<std::string>);
+ BBTK_DECLARE_INPUT(Column00,std::vector<std::string>);
+ BBTK_DECLARE_INPUT(Column01,std::vector<std::string>);
+ BBTK_DECLARE_INPUT(Column02,std::vector<std::string>);
+ BBTK_DECLARE_INPUT(Column03,std::vector<std::string>);
+ BBTK_DECLARE_INPUT(Column04,std::vector<std::string>);
+ BBTK_DECLARE_INPUT(Column05,std::vector<std::string>);
+ BBTK_DECLARE_INPUT(Column06,std::vector<std::string>);
+ BBTK_DECLARE_INPUT(Column07,std::vector<std::string>);
+ BBTK_DECLARE_INPUT(Column08,std::vector<std::string>);
+ BBTK_DECLARE_INPUT(Column09,std::vector<std::string>);
+ BBTK_DECLARE_INPUT(Column10,std::vector<std::string>);
+ BBTK_PROCESS(Process);
+ void Process();
+ BBTK_CREATE_WIDGET(CreateWidget);
+ void CreateWidget(wxWindow*);
+//=====
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//=====
+};
+
+BBTK_BEGIN_DESCRIBE_BLACK_BOX(ListCtrl,bbtk::WxBlackBox);
+ BBTK_NAME("ListCtrl");
+ BBTK_AUTHOR("InfoDev");
+ BBTK_DESCRIPTION("No Description.");
+ BBTK_CATEGORY("__CategoryBlackBox__");
+
+ BBTK_INPUT(ListCtrl,Titles,"Titres",std::vector<std::string>,"");
+ BBTK_INPUT(ListCtrl,Column00,"Column 0",std::vector<std::string>,"");
+ BBTK_INPUT(ListCtrl,Column01,"Column 1",std::vector<std::string>,"");
+ BBTK_INPUT(ListCtrl,Column02,"Column 2",std::vector<std::string>,"");
+ BBTK_INPUT(ListCtrl,Column03,"Column 3",std::vector<std::string>,"");
+ BBTK_INPUT(ListCtrl,Column04,"Column 4",std::vector<std::string>,"");
+ BBTK_INPUT(ListCtrl,Column05,"Column 5",std::vector<std::string>,"");
+ BBTK_INPUT(ListCtrl,Column06,"Column 6",std::vector<std::string>,"");
+ BBTK_INPUT(ListCtrl,Column07,"Column 7",std::vector<std::string>,"");
+ BBTK_INPUT(ListCtrl,Column08,"Column 8",std::vector<std::string>,"");
+ BBTK_INPUT(ListCtrl,Column09,"Column 9",std::vector<std::string>,"");
+ BBTK_INPUT(ListCtrl,Column10,"Column 10",std::vector<std::string>,"");
+
+
+BBTK_END_DESCRIBE_BLACK_BOX(ListCtrl);
+//=====
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//=====
+}
+// EO namespace bbwx
+
+#endif // __bbwxListCtrl_h_INCLUDED__
+#endif // _USE_WXWIDGETS_
+