X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23d74d894d13d7523c0a6fe41e6ef587d07b9f52..7f4f5e8c24607ead9b5e2f4c60658dcd61f028f4:/interface/wx/combobox.h diff --git a/interface/wx/combobox.h b/interface/wx/combobox.h index b3ed47a41d..ba7bbc3eaf 100644 --- a/interface/wx/combobox.h +++ b/interface/wx/combobox.h @@ -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. @@ -237,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(); };