X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/os2/dc.cpp diff --git a/src/os2/dc.cpp b/src/os2/dc.cpp index 14d766ba38..2f6b70a553 100644 --- a/src/os2/dc.cpp +++ b/src/os2/dc.cpp @@ -343,7 +343,7 @@ wxPMDCImpl::wxPMDCImpl( wxDC *owner, WXHDC hDC ) : m_hDC = hDC; } // end of wxPMDCImpl::wxPMDCImpl -wxPMDCImpl::~wxPMDCImpl(void) +wxPMDCImpl::~wxPMDCImpl() { if ( m_hDC != 0 ) { @@ -459,7 +459,7 @@ void wxPMDCImpl::DoSetDeviceClippingRegion( DO_SET_CLIPPING_BOX() } // end of wxPMDCImpl::DoSetDeviceClippingRegion -void wxPMDCImpl::DestroyClippingRegion(void) +void wxPMDCImpl::DestroyClippingRegion() { if (m_clipping && m_hPS) { @@ -836,7 +836,7 @@ void wxPMDCImpl::DoDrawPoint( } // end of wxPMDCImpl::DoDrawPoint void wxPMDCImpl::DoDrawPolygon( int n, - wxPoint vPoints[], + const wxPoint vPoints[], wxCoord vXoffset, wxCoord vYoffset, wxPolygonFillMode nFillStyle ) @@ -903,14 +903,14 @@ void wxPMDCImpl::DoDrawPolygon( int n, void wxPMDCImpl::DoDrawLines( int n -, wxPoint vPoints[] +, const wxPoint vPoints[] , wxCoord vXoffset , wxCoord vYoffset ) { POINTL vPoint; - if (vXoffset != 0L || vXoffset != 0L) + if (vXoffset != 0L || vYoffset != 0L) { int i;