]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dcgraph.h
use const arrays for wxDC array parameters, closes #10712
[wxWidgets.git] / include / wx / dcgraph.h
index d010b63ae405804ebf4c11102a3f0aa1ada049cf..95f0732d0695d3d0e205400c01885dae32d11b36 100644 (file)
@@ -177,12 +177,12 @@ public:
     virtual void DoGetSize(int *,int *) const;
     virtual void DoGetSizeMM(int* width, int* height) const;
 
-    virtual void DoDrawLines(int n, wxPoint points[],
+    virtual void DoDrawLines(int n, const wxPoint points[],
         wxCoord xoffset, wxCoord yoffset);
-    virtual void DoDrawPolygon(int n, wxPoint points[],
+    virtual void DoDrawPolygon(int n, const wxPoint points[],
                                wxCoord xoffset, wxCoord yoffset,
                                wxPolygonFillMode fillStyle = wxODDEVEN_RULE);
-    virtual void DoDrawPolyPolygon(int n, int count[], wxPoint points[],
+    virtual void DoDrawPolyPolygon(int n, const int count[], const wxPoint points[],
                                    wxCoord xoffset, wxCoord yoffset,
                                    wxPolygonFillMode fillStyle);