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
This commit is contained in:
@@ -1058,7 +1058,7 @@ bool wxGCDC::CanDrawBitmap() const
|
|||||||
|
|
||||||
bool wxGCDC::DoBlit(
|
bool wxGCDC::DoBlit(
|
||||||
wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height,
|
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 )
|
wxCoord xsrcMask, wxCoord ysrcMask )
|
||||||
{
|
{
|
||||||
wxCHECK_MSG( Ok(), false, wxT("wxGCDC(cg)::DoBlit - invalid DC") );
|
wxCHECK_MSG( Ok(), false, wxT("wxGCDC(cg)::DoBlit - invalid DC") );
|
||||||
@@ -1086,7 +1086,7 @@ bool wxGCDC::DoBlit(
|
|||||||
wxMemoryDC* memdc = dynamic_cast<wxMemoryDC*>(source);
|
wxMemoryDC* memdc = dynamic_cast<wxMemoryDC*>(source);
|
||||||
if ( memdc && logical_func == wxCOPY )
|
if ( memdc && logical_func == wxCOPY )
|
||||||
{
|
{
|
||||||
wxBitmap blit = memdc->GetSelectedObject();
|
wxBitmap blit = memdc->GetSelectedBitmap();
|
||||||
|
|
||||||
wxASSERT_MSG( blit.Ok() , wxT("Invalid bitmap for blitting") );
|
wxASSERT_MSG( blit.Ok() , wxT("Invalid bitmap for blitting") );
|
||||||
|
|
||||||
@@ -1122,7 +1122,6 @@ bool wxGCDC::DoBlit(
|
|||||||
{
|
{
|
||||||
m_graphicContext->DrawBitmap( blit, xxdest , yydest , wwdest , hhdest );
|
m_graphicContext->DrawBitmap( blit, xxdest , yydest , wwdest , hhdest );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user