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 class WXDLLEXPORT wxRadioButton
: public wxControl
20 inline wxRadioButton() {}
21 inline wxRadioButton( wxWindow
* pParent
23 ,const wxString
& rsLabel
24 ,const wxPoint
& rPos
= wxDefaultPosition
25 ,const wxSize
& rSize
= wxDefaultSize
28 ,const wxValidator
& rValidator
= wxDefaultValidator
30 ,const wxString
& rsName
= wxRadioButtonNameStr
46 bool Create( wxWindow
* pParent
48 ,const wxString
& rsLabel
49 ,const wxPoint
& rPos
= wxDefaultPosition
50 ,const wxSize
& rSize
= wxDefaultSize
53 ,const wxValidator
& rValidator
= wxDefaultValidator
55 ,const wxString
& rsName
= wxRadioButtonNameStr
57 virtual void SetLabel(const wxString
& rsLabel
);
58 virtual void SetValue(bool bVal
);
59 virtual bool GetValue(void) const ;
61 bool OS2Command( WXUINT wParam
64 void Command(wxCommandEvent
& rEvent
);
66 DECLARE_DYNAMIC_CLASS(wxRadioButton
)
67 }; // end of wxRadioButton