user32: Improve the HiliteMenuItem tests so they reflect actual behaviour on Windows.

Reece Dunn msclrhd at googlemail.com
Mon Mar 17 16:29:59 CDT 2008


The HiliteMenuItem tests were failing on Windows for 2 reasons: the
HWND parameter was NULL, and MF_BYPOSITION or MF_BYCOMMAND were not
passed to the function.

This patch essentially rewrites the HiliteMenuItem tests to be more
comprehensive in their coverage, while fixing the above issues.

The HiliteMenuItem tests now pass on Windows (tested on Vista).

- Reece
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-Improve-the-HiliteMenuItem-tests-so-they-ref.patch
Type: text/x-patch
Size: 6003 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080317/78fba701/attachment-0001.bin 


More information about the wine-patches mailing list