`this` is passed as a parent pointer when the EventViewer is created, so it is deleted automatically.