-void wxListBox::DoSetItems(const wxArrayString& items, void **clientData)
-{
- wxAutoNSAutoreleasePool pool;
-
- // Remove everything
- [m_cocoaItems removeAllObjects];
- m_itemClientData.Clear();
- // Provide the data
- for(size_t i=0; i < items.GetCount(); i++)
- {
- [m_cocoaItems addObject: wxNSStringWithWxString(items[i])];
- m_itemClientData.Add(clientData[i]);
- }