gdiplus: Fix for GdipGraphicsClear.

This commit is contained in:
Nikolay Sivov 2008-09-05 16:51:25 +04:00 committed by Alexandre Julliard
parent 6ecd01b8d1
commit 7258dea49c
1 changed files with 1 additions and 1 deletions

View File

@ -754,7 +754,7 @@ GpStatus WINGDIPAPI GdipCreateFromHDC2(HDC hdc, HANDLE hDevice, GpGraphics **gra
} }
(*graphics)->hdc = hdc; (*graphics)->hdc = hdc;
(*graphics)->hwnd = NULL; (*graphics)->hwnd = WindowFromDC(hdc);
(*graphics)->smoothing = SmoothingModeDefault; (*graphics)->smoothing = SmoothingModeDefault;
(*graphics)->compqual = CompositingQualityDefault; (*graphics)->compqual = CompositingQualityDefault;
(*graphics)->interpolation = InterpolationModeDefault; (*graphics)->interpolation = InterpolationModeDefault;