From: Robin Dunn Date: Wed, 10 Mar 2004 02:06:01 +0000 (+0000) Subject: Don't log StretchDIBits failures X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/85e7fb12b07d7fa60dbb7a630d474bdc3036f851 Don't log StretchDIBits failures git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/dc.cpp b/src/msw/dc.cpp index 4529ec2d4a..92af78fd53 100644 --- a/src/msw/dc.cpp +++ b/src/msw/dc.cpp @@ -2093,7 +2093,11 @@ bool wxDC::DoBlit(wxCoord xdest, wxCoord ydest, SRCCOPY ) == (int)GDI_ERROR ) { - wxLogLastError(wxT("StretchDIBits")); + // On Win9x this API fails most (all?) of the time, so + // logging it becomes quite distracting. Since it falls + // back to the code below this is not really serious, so + // don't log it. + //wxLogLastError(wxT("StretchDIBits")); } else {