[comctl32/tests] Fix some test failures

Paul Vriens paul.vriens.wine at gmail.com
Thu Oct 1 06:03:08 CDT 2009


On 10/01/2009 12:29 PM, Paul Vriens wrote:
> Hi,
>
> Instead of checking fixed points in the title we now check for the order
> of items only.
>
> I didn't cater for locale differences on Windows (as I don't have a way
> to test), so I'm going to rely on test.winehq.org after this patch has
> been applied (if, of course).
>
> The test could be easily extended if we know for a fact that items
> should be at a fixed place (or by calculating text width, button width
> an such).
>
> Changelog
> Fix some test failures
>

FWIW, changing the regional settings on a Windows box does change the 
title of the calendar. Setting it to Portuguese shows that the name of 
the month is longer than expected and hence the hittests don't work as 
it was before.

This patch also succeeds on the Portuguese settings (tested on W2K3).

-- 
Cheers,

Paul.



More information about the wine-devel mailing list