]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxRadioButton.h
*** empty log message ***
[bbtk.git] / packages / wx / src / bbwxRadioButton.h
index 79bcb637c391ade01b874ceb813e6eb708366a3d..adeed849eca75dcf5a0d31f85e0f8443c347dfaf 100644 (file)
@@ -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: 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<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);