- wxNode *node = seg.lines.First();
- while (node)
- {
- DoodleLine *line = (DoodleLine *)node->Data();
- DoodleLine *newLine = new DoodleLine;
- newLine->x1 = line->x1;
- newLine->y1 = line->y1;
- newLine->x2 = line->x2;
- newLine->y2 = line->y2;
-
- lines.Append(newLine);
-
- node = node->Next();
- }