X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxCheckBox.h;h=9e9a550cdb84d6401685019e03732b281ea2f05d;hb=b7dd1ccf2db9c018dabadd835739aba15f3664ba;hp=b2b902a47594a99f9b682fc9d86b71153e065349;hpb=17ac9460f5ea5600d1065fbe3ee4ad826d7bb4fc;p=bbtk.git diff --git a/packages/wx/src/bbwxCheckBox.h b/packages/wx/src/bbwxCheckBox.h index b2b902a..9e9a550 100644 --- a/packages/wx/src/bbwxCheckBox.h +++ b/packages/wx/src/bbwxCheckBox.h @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbwxCheckBox.h,v $ Language: C++ - Date: $Date: 2009/05/15 14:58:03 $ - Version: $Revision: 1.2 $ + Date: $Date: 2010/05/03 08:06:14 $ + Version: $Revision: 1.3 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -72,6 +72,7 @@ namespace bbwx BBTK_BLACK_BOX_INTERFACE(CheckBox,bbtk::WxBlackBox); BBTK_DECLARE_INPUT(In,bool); BBTK_DECLARE_INPUT(Title,std::string); + BBTK_DECLARE_INPUT(ReactiveOnKeystroke,int); BBTK_DECLARE_OUTPUT(Out,bool); BBTK_PROCESS(Process); BBTK_CREATE_WIDGET(CreateWidget); @@ -93,6 +94,7 @@ namespace bbwx BBTK_INPUT(CheckBox, In, "Initial value of the CheckBox (default false)",bool, ""); BBTK_INPUT(CheckBox, Title,"Title shown above the CheckBox (default '') ", std::string,""); BBTK_OUTPUT(CheckBox,Out, "Current value of the CheckBox", bool, ""); + BBTK_INPUT(CheckBox,ReactiveOnKeystroke,"0: no event generated when the checkbox is clicked on, 1: event generated when the checkbox is clicked on (default 1) ", int,""); BBTK_END_DESCRIBE_BLACK_BOX(CheckBox); //=================================================================