wxDC::DrawLines

void DrawLines(int n, wxPoint points[], float xoffset = 0, float yoffset = 0)

void DrawLines(wxList *points, float xoffset = 0, float yoffset = 0)

Draws lines using an array of points of size n, or list of pointers to points, adding the optional offset coordinate. The current pen is used for drawing the lines. The programmer is responsible for deleting the list of points.