X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/614e38dbb25075f8865b09d658b39ef23990ea08..8fdbcf4de8eeff67ccfaf3deec833d203f112629:/src/common/dcsvg.cpp?ds=sidebyside diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index 85105f91f2..1be3feb2e7 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -209,7 +209,7 @@ void wxSVGFileDCImpl::DoDrawLine (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2 CalcBoundingBox(x2, y2); } -void wxSVGFileDCImpl::DoDrawLines(int n, wxPoint points[], wxCoord xoffset , wxCoord yoffset ) +void wxSVGFileDCImpl::DoDrawLines(int n, const wxPoint points[], wxCoord xoffset , wxCoord yoffset ) { for ( int i = 1; i < n; i++ ) { @@ -322,7 +322,7 @@ void wxSVGFileDCImpl::DoDrawRoundedRectangle(wxCoord x, wxCoord y, wxCoord width CalcBoundingBox(x + width, y + height); } -void wxSVGFileDCImpl::DoDrawPolygon(int n, wxPoint points[], +void wxSVGFileDCImpl::DoDrawPolygon(int n, const wxPoint points[], wxCoord xoffset, wxCoord yoffset, wxPolygonFillMode fillStyle) {