double x1, y1, x2, y2;
wxList::compatibility_iterator node = points->GetFirst();
- if (node == NULL)
+ if (node == wxList::compatibility_iterator())
// empty list
return;
// Each element of the widths array will be the width of the string up to and
-// including the coresponding character in text. This is the generic
+// including the corresponding character in text. This is the generic
// implementation, the port-specific classes should do this with native APIs
// if available and if faster. Note: pango_layout_index_to_pos is much slower
// than calling GetTextExtent!!