wxWindow::Enable

void Enable(Bool enable)

Enable or disable the window, so input has no effect.