X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6463b9f5399b8670a0c74f2f8666bc2c9f37a406..d5f7923b9ef3f610ec400d07bda7e53b9e0ef543:/src/msw/choice.cpp diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index 3a5919592b..220f7c8cfd 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -151,6 +151,20 @@ bool wxChoice::Create(wxWindow *parent, return TRUE; } +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); +} + wxChoice::~wxChoice() { Free();