<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\section{\class{wxPaintEvent}}\label{wxpaintevent}

A paint event is sent when a window's contents needs to be repainted.

\wxheading{Derived from}

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

\wxheading{Include files}

&lt;wx/event.h&gt;

\wxheading{Event table macros}

To process a paint event, use this event handler macro to direct input to a member
function that takes a wxPaintEvent argument.

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

\wxheading{See also}

\helpref{wxWindow::OnPaint}{wxwindowonpaint}, \helpref{Event handling overview}{eventhandlingoverview}

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

\membersection{wxPaintEvent::wxPaintEvent}

\func{}{wxPaintEvent}{\param{int }{id = 0}}

Constructor.

</pre></body></html>