]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/radiobut.h
some docs enhancements, in particular to wxDataViewListCtrl.
[wxWidgets.git] / interface / wx / radiobut.h
index fe0690b3f4a49302435b9f613e9d8bb7d2bb3000..eb5694a93313d59ffde09baa033678b21ea6c9ed 100644 (file)
@@ -30,7 +30,7 @@
            only on PalmOS).
     @endStyleTable
 
-    @beginEventTable{wxCommandEvent}
+    @beginEventEmissionTable{wxCommandEvent}
     @event{EVT_RADIOBUTTON(id, func)}
            Process a @c wxEVT_COMMAND_RADIOBUTTON_SELECTED event, when the
            radiobutton is clicked.
@@ -40,7 +40,7 @@
     @category{ctrl}
     @appearance{radiobutton.png}
 
-    @see @ref overview_eventhandling, wxRadioBox, wxCheckBox
+    @see @ref overview_events, wxRadioBox, wxCheckBox
 */
 class wxRadioButton : public wxControl
 {
@@ -83,7 +83,7 @@ public:
                   const wxSize& size = wxDefaultSize,
                   long style = 0,
                   const wxValidator& validator = wxDefaultValidator,
-                  const wxString& name = "radioButton");
+                  const wxString& name = wxRadioButtonNameStr);
 
     /**
         Destructor, destroying the radio button item.
@@ -94,13 +94,11 @@ public:
         Creates the choice for two-step construction. See wxRadioButton() for
         further details.
     */
-    bool Create(wxWindow* parent, wxWindowID id,
-                const wxString& label,
+    bool Create(wxWindow* parent, wxWindowID id, const wxString& label,
                 const wxPoint& pos = wxDefaultPosition,
-                const wxSize& size = wxDefaultSize,
-                long style = 0,
+                const wxSize& size = wxDefaultSize, long style = 0,
                 const wxValidator& validator = wxDefaultValidator,
-                const wxString& name = "radioButton");
+                const wxString& name = wxRadioButtonNameStr);
 
     /**
         Returns @true if the radio button is depressed, @false otherwise.
@@ -114,6 +112,6 @@ public:
         @param value
             @true to select, @false to deselect.
     */
-    void SetValue(const bool value);
+    virtual void SetValue(bool value);
 };