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.
On 10/11/07, Bruce at blazer <bruce@blazertech.net> wrote:
Hi Ajay,
Try calling the Update() method after the Refresh() method.
Bruce.
Thursday, October 11, 2007, 10:16:18 PM, you wrote:
> 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
--
Best regards,
Bruce mailto:bruce@blazertech.net
---------------------------------------------------------------------
To unsubscribe, e-mail:
wxPython-users-unsubscribe@lists.wxwidgets.org For
additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org