From f0a6b1cd6c8de8fc93fcd1ce0e9293fff965ceb8 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 12 Jul 2001 10:37:27 +0000 Subject: [PATCH] Corrected DoBlit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/dcpsg.h | 3 ++- src/generic/dcpsg.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/generic/dcpsg.h b/include/wx/generic/dcpsg.h index 535e7ec729..fb1b61bce2 100644 --- a/include/wx/generic/dcpsg.h +++ b/include/wx/generic/dcpsg.h @@ -79,7 +79,8 @@ public: void DoDrawSpline(wxList *points); bool DoBlit(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, - wxDC *source, wxCoord xsrc, wxCoord ysrc, int rop = wxCOPY, bool useMask = FALSE); + wxDC *source, wxCoord xsrc, wxCoord ysrc, int rop = wxCOPY, bool useMask = FALSE, + wxCoord xsrcMask = -1, wxCoord ysrcMask = -1); bool CanDrawBitmap() const { return TRUE; } void DoDrawIcon( const wxIcon& icon, wxCoord x, wxCoord y ); diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index c4b04b0656..73ee7231f0 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -1835,7 +1835,7 @@ bool wxPostScriptDC::DoBlit( wxCoord xdest, wxCoord ydest, wxCoord fwidth, wxCoord fheight, wxDC *source, wxCoord xsrc, wxCoord ysrc, - int rop, bool WXUNUSED(useMask) ) + int rop, bool WXUNUSED(useMask), wxCoord WXUNUSED(xsrcMask), wxCoord WXUNUSED(ysrcMask) ) { wxCHECK_MSG( m_ok && m_pstream, FALSE, wxT("invalid postscript dc") ); -- 2.45.2