X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..d5e3081bba2bf1ea8700a20bdee345d2fec8f6a7:/interface/wx/combobox.h diff --git a/interface/wx/combobox.h b/interface/wx/combobox.h index d70190e385..f0a56fa4a4 100644 --- a/interface/wx/combobox.h +++ b/interface/wx/combobox.h @@ -8,7 +8,6 @@ /** @class wxComboBox - @wxheader{combobox.h} A combobox is like a combination of an edit control and a listbox. It can be displayed as static list with editable or read-only text field; or a @@ -108,6 +107,36 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = "comboBox"); + /** + Constructor, creating and showing a combobox. + + @param parent + Parent window. Must not be @NULL. + @param id + Window identifier. The value wxID_ANY indicates a default value. + @param value + Initial selection string. An empty string indicates no selection. + @param pos + Window position. + @param size + Window size. If wxDefaultSize is specified then the window is sized + appropriately. + @param choices + An array of strings with which to initialise the control. + @param style + Window style. See wxComboBox. + @param validator + Window validator. + @param name + Window name. + + @beginWxPythonOnly + The wxComboBox constructor in wxPython reduces the @a n and @a choices + arguments are to a single argument, which is a list of strings. + @endWxPythonOnly + + @see Create(), wxValidator + */ wxComboBox(wxWindow* parent, wxWindowID id, const wxString& value, const wxPoint& pos,