X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxRadioButton.h;h=adeed849eca75dcf5a0d31f85e0f8443c347dfaf;hb=fb65ef0feb38b84723ea928ec3d3c056ba26274e;hp=8889dc0d8aff959a006794dbb97c8877c7f017c5;hpb=6575a389b71b1b85c79e4444885becb76ecf16e4;p=bbtk.git diff --git a/packages/wx/src/bbwxRadioButton.h b/packages/wx/src/bbwxRadioButton.h index 8889dc0..adeed84 100644 --- a/packages/wx/src/bbwxRadioButton.h +++ b/packages/wx/src/bbwxRadioButton.h @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbwxRadioButton.h,v $ Language: C++ - Date: $Date: 2008/10/17 08:18:32 $ - Version: $Revision: 1.5 $ + Date: $Date: 2008/12/12 08:55:24 $ + Version: $Revision: 1.7 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -54,6 +54,8 @@ #define __bbWxRadioButton_h__ #include "bbtkWxBlackBox.h" +#include "bbwx_EXPORT.h" + // Namespace of the package "wx" is "bbwx" // Namespace associated to packages should be of the form : @@ -62,36 +64,7 @@ namespace bbwx { - - - class RadioButton; - - //-------------------------------------------------------------------------- - // The widget created by the box - class RadioButtonWidget : public wxPanel - { - public: - RadioButtonWidget( RadioButton* box, wxWindow *parent, - int In, - wxString title, - std::vector lstIn ); - - ~RadioButtonWidget(); - - int GetValue(); - void OnRadioButton(wxEvent& event); - - private: - RadioButton *mBox; - int MAX_RADIOBUTTON; - wxRadioButton *mwxRadioButton[10]; - }; - - //------------------------------------------------------------------------ - //------------------------------------------------------------------------ - //------------------------------------------------------------------------ - - class /*BBTK_EXPORT*/ RadioButton : public bbtk::WxBlackBox + class bbwx_EXPORT RadioButton : public bbtk::WxBlackBox { BBTK_BLACK_BOX_INTERFACE(RadioButton,bbtk::WxBlackBox); @@ -111,7 +84,7 @@ namespace bbwx BBTK_CREATE_WIDGET(CreateWidget); BBTK_PROCESS(Process); void Process(); - void CreateWidget(); + void CreateWidget(wxWindow*); protected: virtual void bbUserConstructor();