colorful wxGauge

Hi,
I have a wx.Gauge in one of my scripts. I was wondering if there is something similar in wx (Im using 2.8) that allows it to have different colors. So that each segment has its own color. I tried to look for replacements but the only hack around this is to use several wx.StaticTexts; this wont work as I have various sizers and would like to keep it on one object only.
Any suggestions?
Cheers
Astan

···

--
"Formulations of number theory: Complete, Consistent, Non-trivial. Choose two." -David Morgan-Mar

Animal Logic
http://www.animallogic.com

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or privileged. If you are not the intended recipient of this email, you must not disclose or use the information contained in it. Please notify the sender immediately and delete this document if you have received it in error. We do not guarantee this email is error or virus free.

Hi Astan,

Hi,
I have a wx.Gauge in one of my scripts. I was wondering if there is
something similar in wx (Im using 2.8) that allows it to have different
colors. So that each segment has its own color. I tried to look for
replacements but the only hack around this is to use several wx.StaticTexts;
this wont work as I have various sizers and would like to keep it on one
object only.
Any suggestions?

You may take a look at my PyProgress class here:

http://xoomer.alice.it/infinity77/eng/freeware.html#pyprogress

Which is a custom-drawn implementation of wx.ProgressDialog/wx.Gauge.
It may not do exactly what you ask for but it's Python code, easy to
hack :smiley:

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

···

On Wed, Oct 8, 2008 at 12:46 PM, Astan Chee wrote: