X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/421a84317fc3d53ac4fd64613f1af2d19018efc5..f325fa52deb739f64536962b97e5db8eec9ee1c7:/include/wx/cocoa/combobox.h diff --git a/include/wx/cocoa/combobox.h b/include/wx/cocoa/combobox.h index 3ac38165e4..b1abb3950c 100644 --- a/include/wx/cocoa/combobox.h +++ b/include/wx/cocoa/combobox.h @@ -40,6 +40,18 @@ public: { Create(parent, winid, value, pos, size, n, choices, style, validator, name); } + wxComboBox(wxWindow *parent, wxWindowID winid, + const wxString& value, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxComboBoxNameStr) + { + Create(parent, winid, value, pos, size, choices, style, + validator, name); + } bool Create(wxWindow *parent, wxWindowID winid, const wxString& value = wxEmptyString, @@ -49,6 +61,14 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxComboBoxNameStr); + bool Create(wxWindow *parent, wxWindowID winid, + const wxString& value, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxComboBoxNameStr); virtual ~wxComboBox(); // ------------------------------------------------------------------------ @@ -63,7 +83,8 @@ public: virtual void SetSelection(int); // Overlapping methods virtual wxString GetStringSelection(); - virtual void SetStringSelection(wxString& selection); + // other methods + virtual void SetStringSelection(const wxString& selection); // wxItemContainer virtual void Clear(); virtual void Delete(int);