wxWindow::SetTitle

void SetTitle(char *title)

Sets the window's title, allocating its own string storage. Currently applicable only to frames.