user32: do not send button click to dialog with disabled default button

Lei Zhang thestig at google.com
Thu Oct 25 02:44:56 CDT 2007


Hi,

Currently, when the dialog box has a disabled default button, it is
possible to activate it by hitting the enter key. This patch adds a
check to prevent this from happening, and it includes a test case for
this specific behavior.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-user32-do-not-send-button-click-to-dialog-with-disabled-default-button.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20071025/79fa22aa/attachment.txt 


More information about the wine-patches mailing list