X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/163bd4f700765483562e95b19670c699d0821283..45d1c40a918c3e7324a7c86cac608185cac58b79:/interface/wx/combobox.h diff --git a/interface/wx/combobox.h b/interface/wx/combobox.h index 67029f392b..5bcca09acc 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 ///////////////////////////////////////////////////////////////////////////// /** @@ -243,5 +243,29 @@ public: 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(); };