WinCE bitmap patch from Johannes Schindelin <Johannes.Schindelin@gmx.de>

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-09-15 08:55:19 +00:00
parent de07d2004f
commit 419430a0c0
5 changed files with 104 additions and 5 deletions

View File

@@ -572,7 +572,7 @@ bool wxDC::DoFloodFill(wxCoord x, wxCoord y, const wxColour& col, int style)
}
CalcBoundingBox(x, y);
return success;
#endif
}
@@ -2047,8 +2047,12 @@ bool wxDC::DoBlit(wxCoord xdest, wxCoord ydest,
}
if ( !success && (caps & RC_STRETCHBLT) )
#endif
// __WXWINCE__
{
#ifndef __WXWINCE__
StretchBltModeChanger changeMode(GetHdc(), COLORONCOLOR);
#endif
if ( !::StretchBlt
(
@@ -2086,8 +2090,6 @@ bool wxDC::DoBlit(wxCoord xdest, wxCoord ydest,
success = TRUE;
}
}
#endif
// __WXWINCE__
}
::SetTextColor(GetHdc(), old_textground);