开发者

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')
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜