X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/449c567346a1b3937e532cd87aac007faad76b04..4dc8d4b7c20b87855c0c11efcb3894be5d4bf2b2:/src/cocoa/checklst.mm diff --git a/src/cocoa/checklst.mm b/src/cocoa/checklst.mm index abda41c2a4..5fa53cf917 100644 --- a/src/cocoa/checklst.mm +++ b/src/cocoa/checklst.mm @@ -21,6 +21,20 @@ BEGIN_EVENT_TABLE(wxCheckListBox, wxCheckListBoxBase) END_EVENT_TABLE() // WX_IMPLEMENT_COCOA_OWNER(wxCheckListBox,NSButton,NSControl,NSView) +bool wxCheckListBox::Create(wxWindow *parent, wxWindowID winid, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style, + const wxValidator& validator, + const wxString& name) +{ + wxCArrayString chs(choices); + + return Create(parent, winid, pos, size, chs.GetCount(), chs.GetStrings(), + style, validator, name); +} + bool wxCheckListBox::Create(wxWindow *parent, wxWindowID winid, const wxPoint& pos, const wxSize& size,