X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fcb35beb942ced9d2552b5ab5b4fe0df8e6df93a..b4e7f826aff0f60826543bec9e1cb3fbcbeb0589:/src/mac/choice.cpp?ds=sidebyside diff --git a/src/mac/choice.cpp b/src/mac/choice.cpp index 55a9268e10..a18113dbf3 100644 --- a/src/mac/choice.cpp +++ b/src/mac/choice.cpp @@ -38,6 +38,20 @@ wxChoice::~wxChoice() // DisposeMenu( m_macPopUpMenuHandle ) ; } +bool wxChoice::Create(wxWindow *parent, wxWindowID id, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style, + const wxValidator& validator, + const wxString& name) +{ + wxCArrayString chs(choices); + + return Create(parent, id, pos, size, chs.GetCount(), chs.GetStrings(), + style, validator, name); +} + bool wxChoice::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size,