Reset selection of wx.lib.calendar.Calendar control?

Posted by Joseph on Stack Overflow See other posts from Stack Overflow or by Joseph
Published on 2010-05-14T14:12:59Z Indexed on 2010/05/14 14:14 UTC
Read the original article Hit count: 246

Filed under:
|
|
|

I have a wx.lib.calendar.Calendar control (not wx.lib.calendar.CalendarCtrl!). I am selecting a number of days using the following function call:

self.cal.AddSelect([days], 'green', 'white')

This works, and draws the days highlighted. However, I cannot work out how to reverse this (i.e., clear the selection so the days go back to their normal colouring).

Any hints, please?

© Stack Overflow or respective owner

Related posts about python

Related posts about wxpython