Commit a3e4c694 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

user32: Release capture before sending WM_COMMAND.

parent 8b054fb3
......@@ -353,9 +353,13 @@ LRESULT ButtonWndProc_common(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
(state & BST_INDETERMINATE) ? 0 : ((state & 3) + 1), 0 );
break;
}
ReleaseCapture();
BUTTON_NOTIFY_PARENT(hWnd, BN_CLICKED);
}
ReleaseCapture();
else
{
ReleaseCapture();
}
break;
case WM_CAPTURECHANGED:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment