wxColourPickerCtrl question ...

Ajay ajdeshpande at gmail.com
Thu Oct 11 07:16:18 PDT 2007


Hi people:

I have a button, which when clicked sets the color of a
wxColourPickerCtrl using its "SetColour" method. Right after this I am
calling its "Refresh" method. While the color gets set, i dont see the
color rectangle getting refreshed.

here is the snippet ....

...
self.color_min = (150, 150, 150)
self.colorpane1.SetColour(self.color_min)
self.colorpane1.Refresh()
...

do i need to do anything besides Refresh here?

thanks in advance,
-Ajay

-- 
"Hatchet, Axe and Saw"




More information about the wxpython-users mailing list