|
From: Kevin A. <al...@se...> - 2002-02-14 19:51:30
|
This is another one of those minor bugs that has been around for a while.
Apologies to anyone that has had messed up background colors while using the
resourceEditor.
Line 1295 of the current file should be:
defaultBgColor = wx.wxSystemSettings_GetSystemColour(wx.wxSYS_COLOUR_3DFACE)
I previously had the constant wx.wxSYS_COLOUR_3DLIGHT, which happens to have
the same default value under Windows 2000, but not uder Win98 and probably
other versions of Windows. Somebody will have to test that this still works
for wxGTK too.
If you had edited with the resourceEditor when the wrong value was being
used you likely had a background that was a lighter gray than you expected
and when you went to run your application the background of the panel would
be correct, but components like the buttons and static text would be light.
Dan Shafer's counter sample had this problem, so I went ahead and fixed that
too by getting rid of the lines such as:
'backgroundColor':(224, 224, 224),
I've updated cvs with the fixes.
ka
|