// Purpose: interface of wxComboBox
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
*/
wxComboBox();
- //@{
/**
Constructor, creating and showing a combobox.
long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxComboBoxNameStr);
- //@}
/**
Destructor, destroying the combobox.
@note For a combobox with @c wxCB_READONLY style the string must be in
the combobox choices list, otherwise the call to SetValue() is
- ignored.
+ ignored. This is case insensitive.
@param text
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();
};