Sorts the entries alphabetically.
@endStyleTable
- @beginEventTable
+ @beginEventTable{wxCommandEvent}
@event{EVT_CHOICE(id, func)}:
Process a wxEVT_COMMAND_CHOICE_SELECTED event, when an item on the
list is selected.
//@{
/**
Constructor, creating and showing a choice.
-
+
@param parent
Parent window. Must not be @NULL.
@param id
Window validator.
@param name
Window name.
-
+
@see Create(), wxValidator
*/
wxChoice();
/**
Gets the number of columns in this choice item.
-
+
@remarks This is implemented for Motif only and always returns 1 for the
other platforms.
*/
That is, while the dropdown list is shown, it returns the currently selected
item in it. When it is not shown, its result is the same as for the other
function.
-
+
@wxsince{2.6.2} (before this version
wxControlWithItems::GetSelection itself behaved like
this).
/**
Sets the number of columns in this choice item.
-
+
@param n
Number of columns.
*/