A checkbox is a labelled box which is either on (checkmark is visible) or off (no checkmark).
wxCheckBox::wxCheckBox
voidwxCheckBoxwxPanel *parent, wxFunction func,
char *label,
int x = -1, int y = -1, int width = -1, int height = -1
Constructor, creating and showing a checkbox. If width or height are omitted (or are less than zero), an appropriate size will be used for the check box. func may be NULL; otherwise it is used as the callback for the check box. Note that the cast (wxFunction) must be used when passing your callback function name, or the compiler may complain that the function does not match the constructor declaration.
wxCheckBox::wxCheckBox
voidwxCheckBox
Destructor, destroying the checkbox.
wxCheckBox::GetValue
BoolGetValue
Gets the state of the checkbox, TRUE if it is checked, FALSE otherwise.
wxCheckBox::SetValue
voidSetValueBool state
Sets the checkbox to the given state: if the state is TRUE, the check is on, otherwise it is off.