X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..c580f45efe9406261d537f2dada51650eb054be6:/samples/docview/view.cpp diff --git a/samples/docview/view.cpp b/samples/docview/view.cpp index 348d52f5d9..dc01f53b0c 100644 --- a/samples/docview/view.cpp +++ b/samples/docview/view.cpp @@ -90,7 +90,7 @@ void DrawingView::OnDraw(wxDC *dc) dc->SetFont(*wxNORMAL_FONT); dc->SetPen(*wxBLACK_PEN); - wxNode *node = ((DrawingDocument *)GetDocument())->GetDoodleSegments().GetFirst(); + wxList::compatibility_iterator node = ((DrawingDocument *)GetDocument())->GetDoodleSegments().GetFirst(); while (node) { DoodleSegment *seg = (DoodleSegment *)node->GetData();