A choice item is used to select one string from a pop-up list of strings. Unlike a list box, only the selection is visible until the user pops-up the menu of choices.
See also wx:list-box%.
Creates a choice item.
If func is not null, it is used as a callback when the choice item is changed by the user.
If label is non-NULL, it is used as the label for the choice item.
The parameters x and y are used to specify an absolute position for the choice item within the panel; if -1 is provided, a default position will be assigned such that the choice item 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 choice item based on the longest choice string.
The choices list specifies the list of possible values for the choice item.
The style argument is reserved for future use.
The name argument is used to associate a name with the choice item, allowing the application user to set X Windows resource values for each individual choice item.