wxStringList::ListToArray

char ** ListToArray(Bool new_copies = FALSE)

Converts the list to an array of strings, only allocating new memory if new_copies is TRUE.