+ def PySetDate(self, date):
+ """takes datetime.datetime or datetime.date object"""
+ self.SetDate(_pydate2wxdate(date))
+
+ def PyGetDate(self):
+ """returns datetime.date object"""
+ return _wxdate2pydate(self.GetDate())
+
+ def PySetLowerDateLimit(self, date):
+ """takes datetime.datetime or datetime.date object"""
+ self.SetLowerDateLimit(_pydate2wxdate(date))
+
+ def PySetUpperDateLimit(self, date):
+ """takes datetime.datetime or datetime.date object"""
+ self.SetUpperDateLimit(_pydate2wxdate(date))
+
+ def PySetDateRange(self, lowerdate, upperdate):
+ """takes datetime.datetime or datetime.date objects"""
+ self.PySetLowerDateLimit(lowerdate)
+ self.PySetUpperDateLimit(upperdate)
+
+ def PyGetLowerDateLimit(self):
+ """returns datetime.date object"""
+ return _wxdate2pydate(self.GetLowerDateLimit())
+
+ def PyGetUpperDateLimit(self):
+ """returns datetime.date object"""
+ return _wxdate2pydate(self.GetUpperDateLimit())
+
+ Date = property(GetDate,SetDate,doc="See `GetDate` and `SetDate`")
+ HeaderColourBg = property(GetHeaderColourBg,doc="See `GetHeaderColourBg`")
+ HeaderColourFg = property(GetHeaderColourFg,doc="See `GetHeaderColourFg`")
+ HighlightColourBg = property(GetHighlightColourBg,doc="See `GetHighlightColourBg`")
+ HighlightColourFg = property(GetHighlightColourFg,doc="See `GetHighlightColourFg`")
+ HolidayColourBg = property(GetHolidayColourBg,doc="See `GetHolidayColourBg`")
+ HolidayColourFg = property(GetHolidayColourFg,doc="See `GetHolidayColourFg`")
+ LowerDateLimit = property(GetLowerDateLimit,SetLowerDateLimit,doc="See `GetLowerDateLimit` and `SetLowerDateLimit`")
+ MonthControl = property(GetMonthControl,doc="See `GetMonthControl`")
+ UpperDateLimit = property(GetUpperDateLimit,SetUpperDateLimit,doc="See `GetUpperDateLimit` and `SetUpperDateLimit`")
+ YearControl = property(GetYearControl,doc="See `GetYearControl`")
+_calendar.CalendarCtrl_swigregister(CalendarCtrl)