## wxPaintEvent

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

Derived from

wxEvent
wxObject

Include files

<wx/event.h>

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.

EVT_PAINT(func) | Process a wxEVT_PAINT event.

See also

wxWindow::OnPaint, Event handling overview

Members

wxPaintEvent::wxPaintEvent

### wxPaintEvent::wxPaintEvent

wxPaintEvent(int id = 0)

Constructor.