Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#25 DateTimeCompanions.py

open
nobody
Bug fix (17)
5
2005-07-13
2005-07-13
Marcus Bajohr
No

While testing some Date-handling i've found a nifty one:

Applying a datepickerctrl to a frame, binding an event
to it you'll see a splitted string like this
D _ V
E E E
G T .
N A x
A D w
H _

so you cannot use it, while choosing one of the letters
will produce an event with simply the name of the letter.

Just a missing , is the reason, so take the patch or
fix the line by hand

in Companions/DateTimeCompanions find following line
(l-no 65)
EventCollections.EventCategories['DatePickerCtrlEvent']
= ('wx.EVT_DATE_CHANGED')
and fix it to
EventCollections.EventCategories['DatePickerCtrlEvent']
= ('wx.EVT_DATE_CHANGED',)

to make it a tuple with one entry

cheers, Marcus

btw, i'll post it to the newsgroup also

Discussion

  • Marcus Bajohr
    Marcus Bajohr
    2005-07-13

    Patch for DateTiimeCompanions