Changing color of "check" in wxCheckBox

I would like to change to color of the "check" in the wxCheckBox.
Specifically, I would like to change the color of the "undetermined" state
(I am running on XP and XP Tablet, FWIW) from the standard green filled in
rectangle to a red filled in rectangle.

This is a bit off the beaten path, and not a necessity for my app -- but
it would be nice if something like this could be accomplished from
wxPython. I have tried the standard SetForegoundColour and
SetBackgroundColor, but they do not seem to apply to the checkbox itself
-- only the label of the button.

Thanks!
Hubert Hickman

The checkbox itself is part of the standard tools provided by the windowing system. If you want something different you'll need to re-implement it.

Hubert Hickman wrote:

···

I would like to change to color of the "check" in the wxCheckBox. Specifically, I would like to change the color of the "undetermined" state
(I am running on XP and XP Tablet, FWIW) from the standard green filled in
rectangle to a red filled in rectangle.

This is a bit off the beaten path, and not a necessity for my app -- but
it would be nice if something like this could be accomplished from
wxPython. I have tried the standard SetForegoundColour and
SetBackgroundColor, but they do not seem to apply to the checkbox itself
-- only the label of the button.

Hubert Hickman wrote:

I would like to change to color of the "check" in the wxCheckBox. Specifically, I would like to change the color of the "undetermined" state
(I am running on XP and XP Tablet, FWIW) from the standard green filled in
rectangle to a red filled in rectangle.

There isn't a way to do that, other than implementing your own custom checkbox control.

···

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