X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cc4bfafe5a31cb96f35b3ec9b19fa2b0b3a4eef..40c53d1b49569facfd71e30ef56d26df790621c4:/interface/radiobut.h diff --git a/interface/radiobut.h b/interface/radiobut.h index 0fa6d4441c..04b58e60b8 100644 --- a/interface/radiobut.h +++ b/interface/radiobut.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: radiobut.h -// Purpose: documentation for wxRadioButton class +// Purpose: interface of wxRadioButton // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -31,7 +31,7 @@ only on PalmOS). @endStyleTable - @beginEventTable + @beginEventTable{wxCommandEvent} @event{EVT_RADIOBUTTON(id, func)}: Process a wxEVT_COMMAND_RADIOBUTTON_SELECTED event, when the radiobutton is clicked. @@ -41,8 +41,7 @@ @category{ctrl} @appearance{radiobutton.png} - @seealso - @ref overview_eventhandlingoverview, wxRadioBox, wxCheckBox + @see @ref overview_eventhandling, wxRadioBox, wxCheckBox */ class wxRadioButton : public wxControl { @@ -50,7 +49,7 @@ public: //@{ /** Constructor, creating and showing a radio button. - + @param parent Parent window. Must not be @NULL. @param id @@ -69,7 +68,7 @@ public: Window validator. @param name Window name. - + @see Create(), wxValidator */ wxRadioButton(); @@ -102,14 +101,15 @@ public: /** Returns @true if the radio button is depressed, @false otherwise. */ - bool GetValue(); + bool GetValue() const; /** Sets the radio button to selected or deselected status. This does not cause a wxEVT_COMMAND_RADIOBUTTON_SELECTED event to get emitted. - + @param value @true to select, @false to deselect. */ void SetValue(const bool value); }; +