wxPenList::FindOrCreatePen

wxPen * FindOrCreatePen(wxColour *colour, int width, int style)

wxPen * FindOrCreatePen(char *colour_name, int width, int style)

Finds a pen of the given specification, or creates one and adds it to the list.