Currently, the dDateTextBox is in the format of YMD. When the user starts to
type in a date and then double clicks on the date box an error occurs in the
wx - Calendar.py.
on
assert isinstance(date, (datetime.datetime, datetime.date))
below from Calendar.py
def _pydate2wxdate(date):
import datetime
assert isinstance(date, (datetime.datetime, datetime.date))
tt = date.timetuple()
dmy = (tt[2], tt[1]-1, tt[0])
return wx.DateTimeFromDMY(*dmy)
I'd show the traceback but it only occurs once in a while and I can't seem to
reproduce it at the moment.
SUSE 10.2, python 2.5, wxPython 2.6
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]