*/
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.
The text to set.
*/
virtual void SetValue(const wxString& text);
+
+ /**
+ Shows the list box portion of the combo box.
+
+ Currently only implemented in wxMSW and wxGTK.
+
+ Notice that calling this function will generate a
+ wxEVT_COMMAND_COMBOBOX_DROPDOWN event.
+
+ @since 2.9.1
+ */
+ virtual void Popup();
+
+ /**
+ Hides the list box portion of the combo box.
+
+ Currently only implemented in wxMSW and wxGTK.
+
+ Notice that calling this function will generate a
+ wxEVT_COMMAND_COMBOBOX_CLOSEUP event.
+
+ @since 2.9.1
+ */
+ virtual void Dismiss();
};