Color of dot inside radio button

How can the color of the dot inside a radio button be changed? I would like to change it from black to red.
Note: wxPython vers. 2.8, Python 2.6, Windows Vista and Windows 7

I am pretty sure that’s not possible with the native widget. You would need to create a custom widget to accomplish this. There are examples in the wxPython wiki that might help.

···

Mike Driscoll
www.mousevspython.com

Maybe this : “CustomCheckBox” from Andrea Gavanna source (:-).

I have modified images or icons for these examples.

Thank you very much to Andrea Gavanna
(this example is easy to use and easy to understand).

CustomCheckBox.zip (53.9 KB)

There isn't a way to do it using the wx API. It may be possible to do something with the Win32 API directly, but I think that since it is likely the current theme that is drawing the radio button that it will be rather more involved than just calling a function with a new color value.

If you really need this change then you can use a custom control as others have mentioned.

···

On 1/30/12 12:34 PM, Virgil Stokes wrote:

How can the color of the dot inside a radio button be changed? I would
like to change it from black to red.
Note: wxPython vers. 2.8, Python 2.6, Windows Vista and Windows 7

--
Robin Dunn
Software Craftsman