X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/163bd4f700765483562e95b19670c699d0821283..30f6914ba1d999b84c28fc84a3cf0fdbf9cc326f:/interface/wx/combobox.h diff --git a/interface/wx/combobox.h b/interface/wx/combobox.h index 67029f392b..6dcefeebc2 100644 --- a/interface/wx/combobox.h +++ b/interface/wx/combobox.h @@ -3,7 +3,7 @@ // Purpose: interface of wxComboBox // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -237,11 +237,35 @@ public: @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(); };