X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5955710c8bd346e8be675bd1dbbd427723a57920..39a7aa0467fcaeca022d981fc0d025979423adb3:/src/msw/listbox.cpp?ds=sidebyside diff --git a/src/msw/listbox.cpp b/src/msw/listbox.cpp index 90cfac1779..9e4b653af8 100644 --- a/src/msw/listbox.cpp +++ b/src/msw/listbox.cpp @@ -251,6 +251,20 @@ bool wxListBox::Create(wxWindow *parent, return TRUE; } +bool wxListBox::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); +} + wxListBox::~wxListBox() { Free();