X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..cb6780ff0129b790a29c0660e936430b0b063db8:/include/wx/gtk/radiobut.h?ds=inline diff --git a/include/wx/gtk/radiobut.h b/include/wx/gtk/radiobut.h index 337264fe5a..61e7130035 100644 --- a/include/wx/gtk/radiobut.h +++ b/include/wx/gtk/radiobut.h @@ -27,5 +27,40 @@ class wxRadioButton; +//----------------------------------------------------------------------------- +// data +//----------------------------------------------------------------------------- + +extern const char* wxRadioButtonNameStr; + +//----------------------------------------------------------------------------- +// wxRadioButton +//----------------------------------------------------------------------------- + +class wxRadioButton: public wxControl +{ + DECLARE_DYNAMIC_CLASS(wxRadioButton) + + public: + inline wxRadioButton(void) {} + inline wxRadioButton( wxWindow *parent, wxWindowID id, + const wxString& label, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxRadioButtonNameStr ) + { + Create( parent, id, label, pos, size, style, validator, name ); + } + bool Create(wxWindow *parent, wxWindowID id, + const wxString& label, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxRadioButtonNameStr ); + virtual void SetLabel(const wxString& label); + virtual void SetValue(bool val); + virtual bool GetValue(void) const; +}; #endif // __GTKRADIOBUTTONH__