]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxCheckBox.h
Generate a good file name when .mhd is missing
[bbtk.git] / packages / wx / src / bbwxCheckBox.h
index 778016a45f3eb9e00722aa1d721b09a0214ec1f5..9e9a550cdb84d6401685019e03732b281ea2f05d 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbwxCheckBox.h,v $
   Language:  C++
-  Date:      $Date: 2009/01/13 09:57:13 $
-  Version:   $Revision: 1.1 $
+  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);
@@ -79,7 +80,7 @@ namespace bbwx
     void CreateWidget(wxWindow*);
 
   protected:
-    virtual void bbUserConstructor();
+
   };
   //=================================================================
  
@@ -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);
   //=================================================================