X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3fb1e0594abc234aed02f0b7e614bba7dabc4e99..dc8c61bef78e406080de2be91bc6e8d746edb647:/src/palmos/dc.cpp diff --git a/src/palmos/dc.cpp b/src/palmos/dc.cpp index 25dc258b30..4a417aa61f 100644 --- a/src/palmos/dc.cpp +++ b/src/palmos/dc.cpp @@ -197,17 +197,11 @@ wxPalmDCImpl::DoGetClippingBox(wxCoord *x, wxCoord *y, wxCoord *w, wxCoord *h) c { } -// common part of DoSetClippingRegion() and DoSetClippingRegionAsRegion() -void wxPalmDCImpl::SetClippingHrgn(WXHRGN hrgn) -{ - wxCHECK_RET( hrgn, wxT("invalid clipping region") ); -} - void wxPalmDCImpl::DoSetClippingRegion(wxCoord x, wxCoord y, wxCoord w, wxCoord h) { } -void wxPalmDCImpl::DoSetClippingRegionAsRegion(const wxRegion& region) +void wxPalmDCImpl::DoSetDeviceClippingRegion(const wxRegion& region) { } @@ -245,7 +239,7 @@ void wxPalmDCImpl::Clear() bool wxPalmDCImpl::DoFloodFill(wxCoord WXUNUSED_IN_WINCE(x), wxCoord WXUNUSED_IN_WINCE(y), const wxColour& WXUNUSED_IN_WINCE(col), - int WXUNUSED_IN_WINCE(style)) + wxFloodFillStyle WXUNUSED_IN_WINCE(style)) { return false; } @@ -284,7 +278,7 @@ void wxPalmDCImpl::DoDrawPolygon(int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset, - int WXUNUSED_IN_WINCE(fillStyle)) + wxPolygonFillMode WXUNUSED_IN_WINCE(fillStyle)) { } @@ -294,7 +288,7 @@ wxPalmDCImpl::DoDrawPolyPolygon(int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset, - int fillStyle) + wxPolygonFillMode fillStyle) { } @@ -390,7 +384,7 @@ void wxPalmDCImpl::SetBackgroundMode(int mode) { } -void wxPalmDCImpl::SetLogicalFunction(int function) +void wxPalmDCImpl::SetLogicalFunction(wxRasterOperationMode function) { } @@ -449,7 +443,7 @@ void wxPalmDCImpl::RealizeScaleAndOrigin() { } -void wxPalmDCImpl::SetMapMode(int mode) +void wxPalmDCImpl::SetMapMode(wxMappingMode mode) { } @@ -478,7 +472,7 @@ bool wxPalmDCImpl::DoBlit(wxCoord dstX, wxCoord dstY, wxCoord dstWidth, wxCoord dstHeight, wxDC *source, wxCoord srcX, wxCoord srcY, - int rop, bool useMask, + wxRasterOperationMode rop, bool useMask, wxCoord srcMaskX, wxCoord srcMaskY) { return false; @@ -489,7 +483,7 @@ bool wxPalmDCImpl::DoStretchBlit(wxCoord xdest, wxCoord ydest, wxDC *source, wxCoord xsrc, wxCoord ysrc, wxCoord srcWidth, wxCoord srcHeight, - int rop, bool useMask, + wxRasterOperationMode rop, bool useMask, wxCoord xsrcMask, wxCoord ysrcMask) { return false;