- list.DeleteContents(TRUE);
- list.Append( new wxPoint(x1, y1) );
- list.Append( new wxPoint(x2, y2) );
- list.Append( new wxPoint(x3, y3) );
+ list.Append( (wxObject*)new wxPoint(x1, y1) );
+ list.Append( (wxObject*)new wxPoint(x2, y2) );
+ list.Append( (wxObject*)new wxPoint(x3, y3) );