wxMultiText::GetValue

char * GetValue(void)

void GetValue(char *buffer, intbufferSize)

The first form gets a pointer to the current value -- this is allocated using new, so should be deleted by the calling program. The second form copies the value into a buffer, for situations where a lot of text is returned (more than the capacity of the small buffer used for the first form).