Only draw polygons with more than 1 point. wxWidgets 2.9.4 doesn't seem to like it if there's only 1 or less points (assertion error).