]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/radiobut.h
globally renamed uint to size_t. This has _not_ been checked under Windows,
[wxWidgets.git] / include / wx / gtk / radiobut.h
index 337264fe5afb07864a743be0040c162df875d9f7..61e7130035bb45c5a4f4d6f2a9cd1ee6ac873f65 100644 (file)
 
 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__