void wxCheckBox(void)
Constructor, used when deriving from this class.
void wxCheckBox(wxPanel *parent, wxFunction func, char *label, int x = -1, int y = -1, int width = -1, int height = -1, int style = 0, char *name = "checkBox")
Constructor, creating and showing a checkbox.
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.
If label is non-NULL, it is used as the label for the checkbox.
The parameters x and y are used to specify an absolute position, or a position after the previous panel item if omitted or default.
If width or height are omitted (or are less than zero), an appropriate size will be used for the check box.
The style parameter is reserved for future use.
The name parameter is used to associate a name with the item, allowing the application user to set Motif resource values for individual checkboxes.