]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxComboBox.h
#3152 BBTK Bug New Normal - ShareMemory, ComboBox->list
[bbtk.git] / packages / wx / src / bbwxComboBox.h
index a1182f9d42588823db4d5b1fffba5ebb6f67f761..6b1e702b2675047f75585f70f5dc70cc90c4bccb 100644 (file)
@@ -22,6 +22,7 @@ class bbwx_EXPORT ComboBox
   BBTK_DECLARE_INPUT(Selection, int );
   BBTK_DECLARE_INPUT(In,std::vector< std::string >);
   BBTK_DECLARE_INPUT(Form, int );
+  BBTK_DECLARE_INPUT(Deselect, bool );
   BBTK_DECLARE_OUTPUT(Out, int );
   BBTK_DECLARE_OUTPUT(OutString, std::string );
   BBTK_PROCESS(Process);
@@ -42,10 +43,9 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ComboBox,bbtk::WxBlackBox);
        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,"");
-
+       BBTK_INPUT(ComboBox,Deselect,"(default false) Just for List form",bool,"");
+    BBTK_OUTPUT(ComboBox,Out,"i Item selected",int,"");
+    BBTK_OUTPUT(ComboBox,OutString,"string Item selected",std::string,"");
 BBTK_END_DESCRIBE_BLACK_BOX(ComboBox);
 //===== 
 // 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)