[wxPython-users] wx.lib.calendar and SetSelDay method

Robin Dunn robin at alldunn.com
Mon Sep 4 10:47:26 PDT 2006


Basil Shubin wrote:
> Hi friends,
> 
> How I can change the color of selected days that was selected by 
> SetSelDay method?

Looking at the source code, it looks like these will do it:

	cal.SetColor(wx.lib.calendar.COLOR_SELECTION_FONT, value)
	cal.SetColor(wx.lib.calendar.COLOR_SELECTION_BACKGROUND, value)

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list