wxTextWindow::SaveFile

Bool SaveFile(char * file)

Saves the text in the named file. Success is indicated by a return value of TRUE.