[ros-diffs] [jimtabor] 45665: [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.
jimtabor at svn.reactos.org
jimtabor at svn.reactos.org
Tue Feb 23 04:14:09 CET 2010
Author: jimtabor
Date: Tue Feb 23 04:14:09 2010
New Revision: 45665
URL: http://svn.reactos.org/svn/reactos?rev=45665&view=rev
Log:
[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.
Modified:
trunk/reactos/dll/win32/user32/windows/nonclient.c
Modified: trunk/reactos/dll/win32/user32/windows/nonclient.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/nonclient.c?rev=45665&r1=45664&r2=45665&view=diff
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/nonclient.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/nonclient.c [iso-8859-1] Tue Feb 23 04:14:09 2010
@@ -489,6 +489,7 @@
}
ReleaseDC(hWnd, hDC);
+ DeleteObject(hRgn); // We use DCX_KEEPCLIPRGN
return 0;
}
More information about the Ros-diffs
mailing list