]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dc.h
use const arrays for wxDC array parameters, closes #10712
[wxWidgets.git] / include / wx / msw / dc.h
index ddb8797d00dd72311862906000b788578ea998dd..cd0895021068e5a3422b9738bf917f6f2da3947a 100644 (file)
@@ -249,12 +249,12 @@ public:
 
     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 = wxODDEVEN_RULE);
     virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const