X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23d74d894d13d7523c0a6fe41e6ef587d07b9f52..b8737371e220ef1920e6a3d2aed88c4bc2b04daf:/interface/wx/combobox.h diff --git a/interface/wx/combobox.h b/interface/wx/combobox.h index b3ed47a41d..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 ///////////////////////////////////////////////////////////////////////////// /** @@ -83,7 +83,6 @@ public: */ wxComboBox(); - //@{ /** Constructor, creating and showing a combobox. @@ -117,6 +116,10 @@ public: 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, @@ -156,6 +159,10 @@ public: 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, @@ -166,7 +173,6 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxComboBoxNameStr); - //@} /** Destructor, destroying the combobox. @@ -231,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(); };