From bc2ac5da6af098491f17b4ea1e7796c127f393e9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 22 Oct 2007 11:27:13 +0000 Subject: [PATCH] compilation fix for wxUSE_STL==1 after wxList methods changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dcbase.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index a6e495af41..6a2bc1ff6c 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -1841,7 +1841,7 @@ void wxDCBase::DrawLines(const wxList *list, wxCoord xoffset, wxCoord yoffset ) wxPoint *points = new wxPoint[n]; unsigned int i = 0; - wxNode *node; + wxObjectList::compatibility_iterator node; for ( node = list->GetFirst(); node; node = node->GetNext(), i++ ) { wxPoint *point = (wxPoint*) node->GetData(); @@ -1887,7 +1887,7 @@ void wxDCBase::DrawPolygon(const wxList *list, wxPoint *points = new wxPoint[n]; unsigned int i = 0; - wxNode *node; + wxObjectList::compatibility_iterator node; for ( node = list->GetFirst(); node; node = node->GetNext(), i++ ) { wxPoint *point = (wxPoint*) node->GetData(); @@ -2101,7 +2101,7 @@ static void wx_spline_draw_point_array(wxDCBase *dc) void wxDCBase::DrawSpline(const wxList *points) { wxPointList list; - wxNode *node = points->GetFirst(); + wxObjectList::compatibility_iterator node = points->GetFirst(); while (node) { list.Append( (wxPoint*) node->GetData() ); -- 2.50.0