use const arrays for wxDC array parameters, closes #10712
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -881,7 +881,7 @@ void wxMSWDCImpl::DoDrawPoint(wxCoord x, wxCoord y)
|
||||
}
|
||||
|
||||
void wxMSWDCImpl::DoDrawPolygon(int n,
|
||||
wxPoint points[],
|
||||
const wxPoint points[],
|
||||
wxCoord xoffset,
|
||||
wxCoord yoffset,
|
||||
wxPolygonFillMode WXUNUSED_IN_WINCE(fillStyle))
|
||||
@@ -929,8 +929,8 @@ void wxMSWDCImpl::DoDrawPolygon(int n,
|
||||
|
||||
void
|
||||
wxMSWDCImpl::DoDrawPolyPolygon(int n,
|
||||
int count[],
|
||||
wxPoint points[],
|
||||
const int count[],
|
||||
const wxPoint points[],
|
||||
wxCoord xoffset,
|
||||
wxCoord yoffset,
|
||||
wxPolygonFillMode fillStyle)
|
||||
@@ -982,7 +982,7 @@ wxMSWDCImpl::DoDrawPolyPolygon(int n,
|
||||
// __WXWINCE__
|
||||
}
|
||||
|
||||
void wxMSWDCImpl::DoDrawLines(int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset)
|
||||
void wxMSWDCImpl::DoDrawLines(int n, const wxPoint points[], wxCoord xoffset, wxCoord yoffset)
|
||||
{
|
||||
WXMICROWIN_CHECK_HDC
|
||||
|
||||
|
Reference in New Issue
Block a user