X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxComboBox.h;h=a1182f9d42588823db4d5b1fffba5ebb6f67f761;hb=0aa49410fc182f0c3a5cbec359d30ca65a26a180;hp=2d59f16f14d9282b22c761aa6018c4f82d30d84d;hpb=6bbede25055ab1e1ad6a1ac4777131bd59efaecc;p=bbtk.git diff --git a/packages/wx/src/bbwxComboBox.h b/packages/wx/src/bbwxComboBox.h index 2d59f16..a1182f9 100644 --- a/packages/wx/src/bbwxComboBox.h +++ b/packages/wx/src/bbwxComboBox.h @@ -21,6 +21,7 @@ class bbwx_EXPORT ComboBox BBTK_DECLARE_INPUT(Title,std::string); BBTK_DECLARE_INPUT(Selection, int ); BBTK_DECLARE_INPUT(In,std::vector< std::string >); + BBTK_DECLARE_INPUT(Form, int ); BBTK_DECLARE_OUTPUT(Out, int ); BBTK_DECLARE_OUTPUT(OutString, std::string ); BBTK_PROCESS(Process); @@ -40,6 +41,7 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ComboBox,bbtk::WxBlackBox); BBTK_INPUT(ComboBox,Title,"Title prepended to the text",std::string,""); BBTK_INPUT(ComboBox,Selection,"i element to be selected (default 0)",int,""); BBTK_INPUT(ComboBox,In,"Vector of strings",std::vector< std::string >,""); + BBTK_INPUT(ComboBox,Form,"0 Combobox, 1 List (default 0)",int,""); BBTK_OUTPUT(ComboBox,Out,"i Item selected",int,""); BBTK_OUTPUT(ComboBox,OutString,"string Item selected",std::string,"");