wxTextWindow::DiscardEdits

void DiscardEdits(void)

Clears the window and deletes the stored text (same as Clear).