mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 09:24:11 +00:00
properly handle clicks outside a checkbox
svn path=/trunk/; revision=16404
This commit is contained in:
parent
9d1991ed72
commit
7661ff0d5f
|
@ -1593,7 +1593,7 @@ CheckListWndProc(IN HWND hwnd,
|
|||
ChangeFocus = TRUE;
|
||||
}
|
||||
|
||||
if (ChangeFocus && GetCapture() == NULL &&
|
||||
if (InCheckBox && ChangeFocus && GetCapture() == NULL &&
|
||||
(uMsg == WM_LBUTTONDOWN || uMsg == WM_LBUTTONDBLCLK))
|
||||
{
|
||||
infoPtr->FocusedPushed = TRUE;
|
||||
|
|
Loading…
Reference in a new issue