wxWindow::DestroyChildren

void DestroyChildren(void)

Destroys all children of a window. Called automatically by the destructor.