\section{\class{wxWindowDestroyEvent}}\label{wxwindowdestroyevent}

This event is sent just before the actual window associated with a wxWindow object
is destroyed. Since it is derived from wxCommandEvent, the event propagates up
the window hierarchy.

\wxheading{Derived from}

\helpref{wxCommandEvent}{wxevent}\\
\helpref{wxEvent}{wxevent}\\
\helpref{wxObject}{wxobject}

\wxheading{Include files}

<wx/event.h>

\wxheading{Event table macros}

To process a window destruction event, use this event handler macro to direct input to a member
function that takes a wxWindowDestroyEvent argument.

\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_WINDOW\_DESTROY(func)}}{Process a wxEVT\_DESTROY event.}
\end{twocollist}%

\wxheading{See also}

\helpref{Event handling overview}{eventhandlingoverview},\rtfsp
\helpref{wxWindowCreateEvent}{wxwindowcreateevent}

\latexignore{\rtfignore{\wxheading{Members}}}

\membersection{wxWindowDestroyEvent::wxWindowDestroyEvent}\label{wxwindowdestroyeventctor}

\func{}{wxWindowDestroyEvent}{\param{wxWindow* }{win = NULL}}

Constructor.

