wxCharBuffer is one of many buffer class types, all of which have the same class structure. The routines in wxCharBuffer are as follows: wxCharBuffer(const char *str) Constructor – Uses strdup() to copy the string to an internal memory buffer wxCharBuffer(size_t len=0) Constructor – Creates an empty memory buffer of chars. NOTE: len is the length of the buffer, which should be large enough to include the terminating \0 character. ~wxCharBuffer() Destructor – free()s the internal memory buffer back to the heap, if any char *release() Returns the internal memory buffer so it can be released (or ignored) by the caller wxCharBuffer& operator=(const char *str) Can use the = operator to assign a string to the buffer, releases the internal memory (if any) back to the heap and does strdup() to create the new buffer of strings wxCharBuffer& operator=(const wxCharBuffer& src) Moves the buffer from the src to the destination, using =, releasing the destination buffer (if it exists). The sou