#include <wx/wx.h>
#endif
-#include <wx/wxexpr.h>
+#if wxUSE_DEPRECATED
+#include <wx/deprecated/wxexpr.h>
+#endif
#include <wx/types.h>
if (current_width > max_width)
max_width = current_width;
- current = current->Next();
+ current = current->GetNext();
i ++;
}
double y = (double)(i*char_height + yoffset);
line->SetX( x - xOffset ); line->SetY( y - yOffset );
- current = current->Next();
+ current = current->GetNext();
i ++;
}
if (current_width > max_width)
max_width = current_width;
- current = current->Next();
+ current = current->GetNext();
i ++;
}
double y = (double)(i*char_height + yoffset);
line->SetX( x - m_xpos ); line->SetY( y - m_ypos );
- current = current->Next();
+ current = current->GetNext();
i ++;
}
delete widths;
if (current_width > max_width)
max_width = current_width;
- current = current->Next();
+ current = current->GetNext();
i ++;
}
char buffer[400];
buffer[0] = 0;
- wxNode *node = word_list.First();
+ wxStringListNode *node = word_list.GetFirst();
long x, y;
while (node)
}
}
- node = node->Next();
+ node = node->GetNext();
}
if (buffer[0] != 0)
string_list->Add(buffer);
wxShapeTextLine *line = (wxShapeTextLine *)current->GetData();
dc.DrawText(line->GetText(), WXROUND(xoffset + line->GetX()), WXROUND(yoffset + line->GetY()));
- current = current->Next();
+ current = current->GetNext();
}
dc.DestroyClippingRegion();
wxRealPoint *point = (wxRealPoint *)node->GetData();
xcount += point->x;
ycount += point->y;
- node = node->Next();
+ node = node->GetNext();
}
*x = (xcount/points->GetCount());
{
char *s = (char *)node->GetData();
item->Append(s);
- node = node->Next();
+ node = node->GetNext();
}
}