Use ReleaseDC instead of DeleteDC on DC handle.

This commit is contained in:
Filip Navara 2005-07-26 18:25:46 +00:00 committed by Alexandre Julliard
parent 98e33334ae
commit 52cf1851b8
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ HEADER_DrawItem (HWND hwnd, HDC hdc, INT iItem, BOOL bHotTrack)
}
DeleteObject(hClipRgn);
DeleteDC(hClipDC);
ReleaseDC(hwnd, hClipDC);
}
if (((phdi->fmt & HDF_STRING)