Worksheet code: more cleanup, and fix compil issue with wxWidgets 2.8

This commit is contained in:
jean-pierre charras
2013-05-23 18:38:17 +02:00
parent d1cfa88bc0
commit ece008e790
6 changed files with 39 additions and 11 deletions
+2 -1
View File
@@ -123,7 +123,8 @@ void DrawPageLayout( wxDC* aDC, EDA_DRAW_PANEL * aCanvas,
WS_DRAW_ITEM_POLYGON* poly = (WS_DRAW_ITEM_POLYGON*) item;
GRPoly( aCanvas ? aCanvas->GetClipBox() : NULL, aDC,
poly->m_Corners.size(), &poly->m_Corners[0],
true, poly->GetPenWidth(),
poly->IsFilled() ? FILLED_SHAPE : NO_FILL,
poly->GetPenWidth(),
poly->GetColor(), poly->GetColor() );
}
break;