dabo Commit
Revision 6240
Date: 2010-12-07 19:39:57 -0800 (Tue, 07 Dec 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6240

Changed:
U   trunk/dabo/ui/uiwx/dDateTextBox.py

Log:
The calendar for dDateTextBox was ignoring the setting for FirstDayOfWeek

Diff:
Modified: trunk/dabo/ui/uiwx/dDateTextBox.py
===================================================================
--- trunk/dabo/ui/uiwx/dDateTextBox.py  2010-12-05 19:11:12 UTC (rev 6239)
+++ trunk/dabo/ui/uiwx/dDateTextBox.py  2010-12-08 03:39:57 UTC (rev 6240)
@@ -30,7 +30,7 @@
                to the calendar's size.
                """
                calClass = {True: dabo.ui.dExtendedCalendar, False: 
dabo.ui.dCalendar}[self.extended]
-               self.cal = calClass(self, Position=(5, 5))
+               self.cal = calClass(self, Position=(6, 5), 
FirstDayOfWeek=dabo.firstDayOfWeek)
                self.cal.Date = self.date
                self.cal.bindEvent(dEvents.Hit, self.onCalSelection)
                self.cal.bindEvent(dEvents.KeyChar, self.onCalKey)



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to