.\" This is a wxWidgets manpage page generated from the XML docs .TH wxWindowDestroyEvent 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxWindowDestroyEvent \- A window destruction event .SH DESCRIPTION This event is sent from the wxWindow destructor wxWindow::~wxWindow() when a window is destroyed. When a class derived from wxWindow is destroyed its destructor will have already run by the time this event is sent. Therefore this event will not usually be received at all. To receive this event wxEvtHandler::Connect must be used (using an event table macro will not work). Since it is received after the destructor has run, an object should not handle its own wxWindowDestroyEvent, but it can be used to get notification of the destruction of another window. .SH "PARENTS" wxCommandEvent wxEvent wxObject .SH "INCLUDE FILES" wx/event.h .SH MEMBERS .SS wxWindowDestroyEvent (wxWindow* win = NULL) Constructor. .SH EVENTS .SH "SEE ALSO" wxCommandEvent wxEvent wxObject Event handling overview , wxWindowCreateEvent .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.