properly handle clicks outside a checkbox
Modified: trunk/reactos/lib/aclui/checklist.c
_____
Modified: trunk/reactos/lib/aclui/checklist.c
--- trunk/reactos/lib/aclui/checklist.c 2005-07-04 00:06:52 UTC (rev
16403)
+++ trunk/reactos/lib/aclui/checklist.c 2005-07-04 00:30:23 UTC (rev
16404)
@@ -1593,7 +1593,7 @@
ChangeFocus = TRUE;
}
- if (ChangeFocus && GetCapture() == NULL &&
+ if (InCheckBox && ChangeFocus && GetCapture() ==
NULL &&
(uMsg == WM_LBUTTONDOWN || uMsg ==
WM_LBUTTONDBLCLK))
{
infoPtr->FocusedPushed = TRUE;
Show replies by date