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();
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();
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() );