comctl32/tests: Use SHIL_SYSSMALL instead of LARGE, and compare with system metrics.
authorOwen Rudge <orudge@codeweavers.com>
Wed, 18 Nov 2009 21:35:07 +0000 (15:35 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 19 Nov 2009 10:48:38 +0000 (11:48 +0100)
commit5ce3af5b37b3e4cc3461f4e4daff41599feb8167
tree1bafe7be13a2b0c404de89d9f32055a2a8124258
parent8d93b9cee893b99d5bff2ea73602e33edc86023e
comctl32/tests: Use SHIL_SYSSMALL instead of LARGE, and compare with system metrics.

This patch fixes a test failure if a user has a non-standard icon size
set. Windows 7, for instance, offers more variation than previous
versions of Windows in icon scaling. We should get the system icon
metric and compare our icon size against that.
dlls/comctl32/tests/imagelist.c