But in place of wx.WHITE, I'd really like to get the user's color prefs.
For example, if I choose the "High Intensity" color scheme on Win2k,
then the background color for panels should be black.
I looked wx.Colour docs but didn't see any info or cross refs. I didn't
find anything in the list archives or wiki, but hopefully I just missed
it.
Is there a way to get this info on wx2407, Win2k?
Or could I skip setBackground() and always assume that the dc (which is
a PaintDC) has the right background color?
But in place of wx.WHITE, I'd really like to get the user's color prefs. For example, if I choose the "High Intensity" color scheme on Win2k, then the background color for panels should be black.
I looked wx.Colour docs but didn't see any info or cross refs. I didn't find anything in the list archives or wiki, but hopefully I just missed it.
Is there a way to get this info on wx2407, Win2k?
See the wxSystemSettings class. From Python the static methods are accessible as wxSystemSettings_GetColour.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!