X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f10962bc05a793ed48ab95dab276a81f82dd2df..d0e278d98e9ecc0f78943a662fca855811f3bea7:/src/msw/dc.cpp diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 2f2d0e54a5..f3c558bf11 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -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);