def get_max_date(self, widget): """ Get the toolkits widget's minimum date attribute. """ date = widget.GetUpperLimit() return from_wx_date(date)
def get_date(self, widget): """ Get the toolkits widget's active date. """ date = widget.GetValue() return from_wx_date(date)