wxListBox::Append

void Append(char * item)

Adds the item to the end of the list box. item must be deallocated by the calling program, i.e. wxWindows makes its own copy.

void Append(char * item, char *client_data)

Adds the item to the end of the list box, associating the given data with the item. item must be deallocated by the calling program.