Don't log StretchDIBits failures

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-03-10 02:06:01 +00:00
parent e0269b2e2a
commit 85e7fb12b0

View File

@ -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
{