From: Stefan Csomor Date: Fri, 20 Oct 2006 13:14:31 +0000 (+0000) Subject: mac methodname fixed, so all use the same now X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0b1cc7bffb94ebfb4bc988b9a7320b96ea0cfcda mac methodname fixed, so all use the same now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/graphcmn.cpp b/src/common/graphcmn.cpp index 03756a3033..380209a608 100644 --- a/src/common/graphcmn.cpp +++ b/src/common/graphcmn.cpp @@ -1058,7 +1058,7 @@ bool wxGCDC::CanDrawBitmap() const bool wxGCDC::DoBlit( wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, - wxDC *source, wxCoord xsrc, wxCoord ysrc, int logical_func , bool useMask, + wxDC *source, wxCoord xsrc, wxCoord ysrc, int logical_func , bool WXUNUSED(useMask), wxCoord xsrcMask, wxCoord ysrcMask ) { wxCHECK_MSG( Ok(), false, wxT("wxGCDC(cg)::DoBlit - invalid DC") ); @@ -1086,7 +1086,7 @@ bool wxGCDC::DoBlit( wxMemoryDC* memdc = dynamic_cast(source); if ( memdc && logical_func == wxCOPY ) { - wxBitmap blit = memdc->GetSelectedObject(); + wxBitmap blit = memdc->GetSelectedBitmap(); wxASSERT_MSG( blit.Ok() , wxT("Invalid bitmap for blitting") ); @@ -1122,7 +1122,6 @@ bool wxGCDC::DoBlit( { m_graphicContext->DrawBitmap( blit, xxdest , yydest , wwdest , hhdest ); } - } else {