1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxRadioButton class
4 // Author: David Webster
8 // Copyright: (c) David Webster
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_RADIOBUT_H_
13 #define _WX_RADIOBUT_H_
15 #include "wx/control.h"
17 WXDLLEXPORT_DATA(extern const char*) wxRadioButtonNameStr
;
19 class WXDLLEXPORT wxRadioButton
: public wxControl
22 inline wxRadioButton() {}
23 inline wxRadioButton( wxWindow
* pParent
25 ,const wxString
& rsLabel
26 ,const wxPoint
& rPos
= wxDefaultPosition
27 ,const wxSize
& rSize
= wxDefaultSize
30 ,const wxValidator
& rValidator
= wxDefaultValidator
32 ,const wxString
& rsName
= wxRadioButtonNameStr
48 bool Create( wxWindow
* pParent
50 ,const wxString
& rsLabel
51 ,const wxPoint
& rPos
= wxDefaultPosition
52 ,const wxSize
& rSize
= wxDefaultSize
55 ,const wxValidator
& rValidator
= wxDefaultValidator
57 ,const wxString
& rsName
= wxRadioButtonNameStr
59 virtual void SetLabel(const wxString
& rsLabel
);
60 virtual void SetValue(bool bVal
);
61 virtual bool GetValue(void) const ;
63 bool OS2Command( WXUINT wParam
66 void Command(wxCommandEvent
& rEvent
);
68 DECLARE_DYNAMIC_CLASS(wxRadioButton
)
69 }; // end of wxRadioButton