Reset selection of wx.lib.calendar.Calendar control?
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 no开发者_如何学Pythonrmal colouring).
Any hints, please?
Couldn't you just do it manually?
self.cal.AddSelect([days], 'black', 'white')
精彩评论