As per the title, is it possible to change the first day of the week (Monday instead of Sunday)?
views:
41answers:
2
A:
Use the wx.CAL_MONDAY_FIRST
value in the style argument of the constructir.
Update
Hier is code generated by wxGlade:
wx.calendar.CalendarCtrl(self, -1, style=wx.calendar.CAL_MONDAY_FIRST)
It has Monday in the leftmost column.
Ber
2010-05-06 09:44:19
I've tried it using wx.calendar.CAL_MONDAY_FIRST but that doesn't have any effect - Sunday is still first.
Noah
2010-05-06 10:16:31
@Noah I tried this using xwGlade and it works find. See may updated answer
Ber
2010-05-07 09:35:13
I'm using wx.lib.calendar.Calendar(), not CalendarCtrl().
Noah
2010-05-12 14:26:11