// Modified by:
// Created: 04/01/98
// RCS-ID: $Id$
-// Copyright: (c) Julian Smart and Markus Holzem
+// Copyright: (c) Julian Smart
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
dc->SetFont(*wxNORMAL_FONT);
dc->SetPen(*wxBLACK_PEN);
- wxNode *node = ((DrawingDocument *)GetDocument())->GetDoodleSegments().First();
+ wxNode *node = ((DrawingDocument *)GetDocument())->GetDoodleSegments().GetFirst();
while (node)
{
- DoodleSegment *seg = (DoodleSegment *)node->Data();
+ DoodleSegment *seg = (DoodleSegment *)node->GetData();
seg->Draw(dc);
- node = node->Next();
+ node = node->GetNext();
}
}
if (currentSegment && event.LeftUp())
{
- if (currentSegment->lines.Number() == 0)
+ if (currentSegment->lines.GetCount() == 0)
{
delete currentSegment;
currentSegment = (DoodleSegment *) NULL;