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:
@@ -2093,7 +2093,11 @@ bool wxDC::DoBlit(wxCoord xdest, wxCoord ydest,
|
|||||||
SRCCOPY
|
SRCCOPY
|
||||||
) == (int)GDI_ERROR )
|
) == (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
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user