Commit | Line | Data |
---|---|---|
a660d684 KB |
1 | \section{\class{wxPaintEvent}}\label{wxpaintevent} |
2 | ||
3 | A paint event is sent when a window's contents needs to be repainted. | |
4 | ||
5 | \wxheading{Derived from} | |
6 | ||
7 | \helpref{wxEvent}{wxevent}\\ | |
8 | \helpref{wxObject}{wxobject} | |
9 | ||
954b8ae6 JS |
10 | \wxheading{Include files} |
11 | ||
12 | <wx/event.h> | |
13 | ||
a660d684 KB |
14 | \wxheading{Event table macros} |
15 | ||
16 | To process a paint event, use this event handler macro to direct input to a member | |
17 | function that takes a wxPaintEvent argument. | |
18 | ||
19 | \twocolwidtha{7cm} | |
20 | \begin{twocollist}\itemsep=0pt | |
21 | \twocolitem{{\bf EVT\_PAINT(func)}}{Process a wxEVT\_PAINT event.} | |
22 | \end{twocollist}% | |
23 | ||
24 | \wxheading{See also} | |
25 | ||
26 | \helpref{wxWindow::OnPaint}{wxwindowonpaint}, \helpref{Event handling overview}{eventhandlingoverview} | |
27 | ||
28 | \latexignore{\rtfignore{\wxheading{Members}}} | |
29 | ||
30 | \membersection{wxPaintEvent::wxPaintEvent} | |
31 | ||
32 | \func{}{wxPaintEvent}{\param{int }{id = 0}} | |
33 | ||
34 | Constructor. | |
35 |