X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f148f2bac3fb0fa6d984050fb940112da150aeff..00f6001fa5037e143a1a6904772239832f7ca931:/include/wx/mac/choice.h?ds=sidebyside diff --git a/include/wx/mac/choice.h b/include/wx/mac/choice.h index 26ac3359c0..4c10bab315 100644 --- a/include/wx/mac/choice.h +++ b/include/wx/mac/choice.h @@ -18,7 +18,8 @@ #include "wx/control.h" - #include "wx/dynarray.h" +#include "wx/dynarray.h" +#include "wx/arrstr.h" WXDLLEXPORT_DATA(extern const wxChar*) wxChoiceNameStr; @@ -46,6 +47,16 @@ public: { Create(parent, id, pos, size, n, choices, style, validator, name); } + wxChoice(wxWindow *parent, wxWindowID id, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxChoiceNameStr) + { + Create(parent, id, pos, size, choices, style, validator, name); + } bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, @@ -54,6 +65,13 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxChoiceNameStr); + bool Create(wxWindow *parent, wxWindowID id, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxChoiceNameStr); // implement base class pure virtuals virtual int DoAppend(const wxString& item);