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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user