Process a wxEVT_COMMAND_TEXT_ENTER event, when RETURN is pressed in
the combobox (notice that the combobox must have been created with
wxTE_PROCESS_ENTER style to receive this event).
- @event{EVT_COMBOX_DROPDOWN(id, func)}
+ @event{EVT_COMBOBOX_DROPDOWN(id, func)}
Process a wxEVT_COMMAND_COMBOBOX_DROPDOWN event, which is generated
when the list box part of the combo box is shown (drops down).
Notice that this event is currently only supported by wxMSW and
wxGTK with GTK+ 2.10 or later.
- @event{EVT_COMBOX_CLOSEUP(id, func)}
+ @event{EVT_COMBOBOX_CLOSEUP(id, func)}
Process a wxEVT_COMMAND_COMBOBOX_CLOSEUP event, which is generated
when the list box of the combo box disappears (closes up). This
event is only generated for the same platforms as
- wxEVT_COMMAND_COMBOBOX_DROPDOWN above.
+ wxEVT_COMMAND_COMBOBOX_DROPDOWN above. Also note that only wxMSW
+ supports adding or deleting items in this event.
@endEventTable
@library{wxcore}
*/
wxComboBox();
- //@{
/**
Constructor, creating and showing a combobox.
arguments are to a single argument, which is a list of strings.
@endWxPythonOnly
+ @beginWxPerlOnly
+ Not supported by wxPerl.
+ @endWxPerlOnly
+
@see Create(), wxValidator
*/
wxComboBox(wxWindow* parent, wxWindowID id,
arguments are to a single argument, which is a list of strings.
@endWxPythonOnly
+ @beginWxPerlOnly
+ Use an array reference for the @a choices parameter.
+ @endWxPerlOnly
+
@see Create(), wxValidator
*/
wxComboBox(wxWindow* parent, wxWindowID id,
long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxComboBoxNameStr);
- //@}
/**
Destructor, destroying the combobox.