Continue the war on wxPoint

This commit is contained in:
Marek Roszko
2022-01-10 19:52:26 -05:00
parent e67b6bc402
commit fcfe42d67c
25 changed files with 118 additions and 132 deletions
+2 -2
View File
@@ -127,8 +127,8 @@ void PlotDrawingSheet( PLOTTER* plotter, const PROJECT* aProject, const TITLE_BL
case WSG_POLY_T:
{
DS_DRAW_ITEM_POLYPOLYGONS* poly = (DS_DRAW_ITEM_POLYPOLYGONS*) item;
int penWidth = std::max( poly->GetPenWidth(), defaultPenWidth );
std::vector<wxPoint> points;
int penWidth = std::max( poly->GetPenWidth(), defaultPenWidth );
std::vector<VECTOR2I> points;
for( int idx = 0; idx < poly->GetPolygons().OutlineCount(); ++idx )
{