From b86b56905fe0856db82a7bf3f6c7dab67ae23528 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Tue, 23 Feb 2010 03:14:09 +0000 Subject: [PATCH 1/1] [User32] - 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 --- reactos/dll/win32/user32/windows/nonclient.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/dll/win32/user32/windows/nonclient.c b/reactos/dll/win32/user32/windows/nonclient.c index 5d2b935f58f..5460748d830 100644 --- a/reactos/dll/win32/user32/windows/nonclient.c +++ b/reactos/dll/win32/user32/windows/nonclient.c @@ -489,6 +489,7 @@ DefWndNCPaint(HWND hWnd, HRGN hRgn, BOOL Active) } ReleaseDC(hWnd, hDC); + DeleteObject(hRgn); // We use DCX_KEEPCLIPRGN return 0; } -- 2.17.1