开发者

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

开发者 https://www.devze.com 2022-12-30 02:21 出处:网络
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:

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

精彩评论

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

关注公众号