A wx:radio-box% item is used to select one of number of mutually exclusive choices. It is displayed as a vertical column or horizontal row of labelled radio buttons.
Creates a radio button set with text or bitmap labels. The choices list specifies the radio button labels.
If func is not null, it is used as the callback for the radio box when the selected radio button is changed.
If label is not null, it will be used to label the radio box, otherwise no label is used.
The parameters x and y are used to specify an absolute position for the radio box within the panel; if -1 is provided, a default position will be assigned such that the radio box is placed next to the last item inserted into the panel. If width or height is -1, an appropriate size will be used for the radio box based on the number and labels of the radio buttons.
The style argument can be wx:const-vertical for a collection of radio buttons vertically arranged, or wx:const-horizontal for a horizontal arrangement.
The major-dim specifies the number of rows (if style is wx:const-vertical) or columns (if style is wx:const-horizontal) for a two-dimensional radiobox. If major-dim is 0, each buttons is put in a separate row or column.
The name argument is used to associate a name with the button, allowing the application user to set X Windows resource values for each individual button.