git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49326
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxPoint *points = new wxPoint[n];
unsigned int i = 0;
wxPoint *points = new wxPoint[n];
unsigned int i = 0;
+ wxObjectList::compatibility_iterator node;
for ( node = list->GetFirst(); node; node = node->GetNext(), i++ )
{
wxPoint *point = (wxPoint*) node->GetData();
for ( node = list->GetFirst(); node; node = node->GetNext(), i++ )
{
wxPoint *point = (wxPoint*) node->GetData();
wxPoint *points = new wxPoint[n];
unsigned int i = 0;
wxPoint *points = new wxPoint[n];
unsigned int i = 0;
+ wxObjectList::compatibility_iterator node;
for ( node = list->GetFirst(); node; node = node->GetNext(), i++ )
{
wxPoint *point = (wxPoint*) node->GetData();
for ( node = list->GetFirst(); node; node = node->GetNext(), i++ )
{
wxPoint *point = (wxPoint*) node->GetData();
void wxDCBase::DrawSpline(const wxList *points)
{
wxPointList list;
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() );
while (node)
{
list.Append( (wxPoint*) node->GetData() );