Author: jimtabor
Date: Tue Sep 15 00:15:16 2015
New Revision: 69233
URL:
http://svn.reactos.org/svn/reactos?rev=69233&view=rev
Log:
[User32]
- Patch by Alex Henrie : Send BM_SETCHECK before WM_CAPTURECHANGED and add tests.
Modified:
trunk/reactos/win32ss/user/user32/controls/button.c
Modified: trunk/reactos/win32ss/user/user32/controls/button.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/contro…
==============================================================================
--- trunk/reactos/win32ss/user/user32/controls/button.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/controls/button.c [iso-8859-1] Tue Sep 15 00:15:16
2015
@@ -408,7 +408,6 @@
break;
}
SendMessageW( hWnd, BM_SETSTATE, FALSE, 0 );
- ReleaseCapture();
GetClientRect( hWnd, &rect );
if (uMsg == WM_KEYUP || PtInRect( &rect, pt ))
{
@@ -428,6 +427,7 @@
}
BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
}
+ ReleaseCapture();
break;
case WM_CAPTURECHANGED: