-}
-
-void wxListBox::DoSetItems(const wxArrayString& items, void **clientData)
-{
- DoClear();
-
- unsigned int count = items.GetCount();
- if ( !count )
- return;
-
- m_strings->Alloc(count);
-
- m_itemsClientData.Alloc(count);
- for ( unsigned int n = 0; n < count; n++ )
- {
- unsigned int index = DoAppendOnly(items[n]);
-
- m_itemsClientData.Insert(clientData ? clientData[n] : NULL, index);
- }
-
- m_updateScrollbarY = true;