See external documentation: wxWindowDestroyEvent.
See also the message variant #wxWindowDestroy{} event record type.
This class is derived (and can use functions) from: wxCommandEvent wxEvent