-DoodleSegment::DoodleSegment(DoodleSegment& seg)
-{
- wxList::compatibility_iterator node = seg.lines.GetFirst();
- while (node)
- {
- DoodleLine *line = (DoodleLine *)node->GetData();
- DoodleLine *newLine = new DoodleLine;
- newLine->x1 = line->x1;
- newLine->y1 = line->y1;
- newLine->x2 = line->x2;
- newLine->y2 = line->y2;
+// ----------------------------------------------------------------------------
+// DoodleSegment implementation
+// ----------------------------------------------------------------------------