A couple of bugs?

Hi All,

    I am trying to use wx.StaticBox in a less "ordinary" way, and I
hit a small wall in doing a couple of things.

1) Is it normal that calling
wx.StaticBox.GetClassDefaultAttributes().colFg crashes Python with the
classical error dialog?

2) I wanted to change the label colour for the staticbox, and I
noticed that it works quite well except for one thing. If you look at
the following picture:

http://xoomer.alice.it/infinity77/wxpython_staticbox.png

You will see that the first staticbox label has its native colour and
the staticbox rounded rectangle is perfectly visible also very close
to the text. But for the second staticbox (for which I changed the
label colour to red), it looks like the label is covering part of the
rectangle (it is highlighted with a blue rectangle).

Also, is there a way to restore the original (native) colour for the
text in the staticbox?

Thank you for your suggestions.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/