A pen is used to control the colour and style of subsequent drawing operations on a device context.
wxPen colour
wxPen style
wxPen create
string colour
The colour for initializing the wxPen.
symbol style
The style for initializing the wxPen. May be one of wxSOLID, wxDOT, wxLONG_DASH, wxSHORT_DASH, wxTRANSPARENT.
void ( create)
Creates a pen for use in a device context. A pen is used for the outlines of graphic shapes. A brush must be set to fill the shapes.
The following slots may be initialized.