]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxRadioButton.h
no message
[bbtk.git] / packages / wx / src / bbwxRadioButton.h
index 8889dc0d8aff959a006794dbb97c8877c7f017c5..048f080d70f84694a171ecee4b3159835d7d0e83 100644 (file)
@@ -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: 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<wxString> 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,10 +84,10 @@ namespace bbwx
     BBTK_CREATE_WIDGET(CreateWidget);
     BBTK_PROCESS(Process);
     void Process();
-    void CreateWidget();
+    void CreateWidget(wxWindow*);
 
   protected:
-    virtual void bbUserConstructor();
+
   };
  
   //=================================================================