X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxRadioButton.h;h=048f080d70f84694a171ecee4b3159835d7d0e83;hb=ec331bfd72e99a47d47c915143a355df274a882b;hp=79bcb637c391ade01b874ceb813e6eb708366a3d;hpb=e4149b56dda0cfb15427533e6f573f09cd3ff74b;p=bbtk.git diff --git a/packages/wx/src/bbwxRadioButton.h b/packages/wx/src/bbwxRadioButton.h index 79bcb63..048f080 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/11/24 15:45:51 $ - Version: $Revision: 1.6 $ + Date: $Date: 2009/05/15 14:58:03 $ + Version: $Revision: 1.8 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -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); @@ -114,7 +87,7 @@ namespace bbwx void CreateWidget(wxWindow*); protected: - virtual void bbUserConstructor(); + }; //=================================================================