http://bugs.winehq.org/show_bug.cgi?id=9490 --- Comment #9 from Peter Åstrand <peter(a)cendio.se> 2007-08-29 09:27:43 ---
XP SP2 fully up to date returns LOCALE_IFIRSTDAYOFWEEK=0 for swedish locale (0x041d), and that matches what Wine returns.
Oh, thanks for pointing this out. I've confirmed that LOCALE_IFIRSTDAYOFWEEK/iFirstDayOfWeek indeed uses 0=monday etc; this is documented on MSDN as well. Nevertheless, the month calendar control is not behaving correctly. For some unknown reason, it uses 0=sunday etc. Here's a comment from monthcal.c: /* sets the first day of the week that will appear in the control */ /* 0 == Sunday, 6 == Saturday */ But MSDN clearly indicates that the API should use 0=monday, see http://msdn2.microsoft.com/en-us/library/ms670423.aspx. Should I open another bug for the problem with the month calendar control, or reopen this one? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.