- wxString* chs = CopyStringsAddingPrefix(n, choices);
- bool retVal = wxListBox::Create(parent, id, pos, size, n, chs,
+ // wxListBox::Create calls set, which adds the prefixes
+ bool retVal = wxListBox::Create(parent, id, pos, size, n, choices,
+ style, validator, name);
+ return retVal;
+}
+
+bool wxCheckListBox::Create(wxWindow *parent, wxWindowID id,
+ const wxPoint& pos,
+ const wxSize& size,
+ const wxArrayString& choices,
+ long style,
+ const wxValidator& validator,
+ const wxString& name)
+{
+ // wxListBox::Create calls set, which adds the prefixes
+ bool retVal = wxListBox::Create(parent, id, pos, size, choices,