mirror of
https://github.com/reactos/reactos.git
synced 2024-07-05 12:15:46 +00:00
[User32]
- Patch by Alex Henrie : Send BM_SETCHECK before WM_CAPTURECHANGED and add tests. svn path=/trunk/; revision=69233
This commit is contained in:
parent
8c0d5e2546
commit
3b7e00591f
|
@ -408,7 +408,6 @@ LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg,
|
|||
break;
|
||||
}
|
||||
SendMessageW( hWnd, BM_SETSTATE, FALSE, 0 );
|
||||
ReleaseCapture();
|
||||
GetClientRect( hWnd, &rect );
|
||||
if (uMsg == WM_KEYUP || PtInRect( &rect, pt ))
|
||||
{
|
||||
|
@ -428,6 +427,7 @@ LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg,
|
|||
}
|
||||
BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
|
||||
}
|
||||
ReleaseCapture();
|
||||
break;
|
||||
|
||||
case WM_CAPTURECHANGED:
|
||||
|
|
Loading…
Reference in a new issue