changing the colour scheme

Hi list,

is there any way to catch the moment when the user changes the colour scheme?

The problem I have is the same which is visible for example when running the wxPython demo, the simple wxDialog sample.Without closing that dialog, if I change the colour scheme, then come back to the dialog and look at it - the static textboxes' background colour is still the one of the old colour scheme. How can I fix this?

Thank you,

Cristina.

Platform: W2KPro, wxPython 2.4.2.4.

C. Iacob wrote:

Hi list,

is there any way to catch the moment when the user changes the colour scheme?

The problem I have is the same which is visible for example when running the wxPython demo, the simple wxDialog sample.Without closing that dialog, if I change the colour scheme, then come back to the dialog and look at it - the static textboxes' background colour is still the one of the old colour scheme. How can I fix this?

EVT_SYS_COLOUR_CHANGED

ยทยทยท

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