- A radio button item is a button which usually denotes one of several mutually
- exclusive options. It has a text label next to a (usually) round button.
+ A radio button item is a button which usually denotes one of several
+ mutually exclusive options. It has a text label next to a (usually) round
+ button.
- You can create a group of mutually-exclusive radio buttons by specifying @c
- wxRB_GROUP for
- the first in the group. The group ends when another radio button group is
- created, or there are no more radio buttons.
+ You can create a group of mutually-exclusive radio buttons by specifying
+ @c wxRB_GROUP for the first in the group. The group ends when another
+ radio button group is created, or there are no more radio buttons.
In some circumstances, radio buttons that are not consecutive
siblings trigger a hang bug in Windows (only). If this happens, add
this style to mark the button as not belonging to a group, and
implement the mutually-exclusive group behaviour yourself.
In some circumstances, radio buttons that are not consecutive
siblings trigger a hang bug in Windows (only). If this happens, add
this style to mark the button as not belonging to a group, and
implement the mutually-exclusive group behaviour yourself.
- @beginEventTable
- @event{EVT_RADIOBUTTON(id, func)}:
- Process a wxEVT_COMMAND_RADIOBUTTON_SELECTED event, when the
+ @beginEventTable{wxCommandEvent}
+ @event{EVT_RADIOBUTTON(id, func)}
+ Process a @c wxEVT_COMMAND_RADIOBUTTON_SELECTED event, when the
/**
Constructor, creating and showing a radio button.
@param parent
Parent window. Must not be @NULL.
@param id
/**
Constructor, creating and showing a radio button.
@param parent
Parent window. Must not be @NULL.
@param id
wxRadioButton(wxWindow* parent, wxWindowID id,
const wxString& label,
const wxPoint& pos = wxDefaultPosition,
wxRadioButton(wxWindow* parent, wxWindowID id,
const wxString& label,
const wxPoint& pos = wxDefaultPosition,
long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = "radioButton");
long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = "radioButton");