- ReactOS uses DCX_KEEPCLIPRGN to prevent the deletion of regions so user support can manage them. Comctl32 depends on this since it does not delete the regions after calling DefWindowProc.

svn path=/trunk/; revision=45665
This commit is contained in:
James Tabor 2010-02-23 03:14:09 +00:00
parent 1441c052a2
commit b86b56905f

View file

@ -489,6 +489,7 @@ DefWndNCPaint(HWND hWnd, HRGN hRgn, BOOL Active)
}
ReleaseDC(hWnd, hDC);
DeleteObject(hRgn); // We use DCX_KEEPCLIPRGN
return 0;
}