floatspin (wx2.9) on OSX Lion - black background

I just upgraded my wxpython to 2.9beta (in order to stop using arch -
i386) on my Mac with OSX Lion, and now the Floatspin ctrls I have in
my app all have a black background.
Any way to change this?

tks

Hi,

I just upgraded my wxpython to 2.9beta (in order to stop using arch -
i386) on my Mac with OSX Lion, and now the Floatspin ctrls I have in
my app all have a black background.
Any way to change this?

Although FloatSpin is one of my children, I have no idea what has
changed in the Mac port to cause this, nor I can find out as I don't
use Mac. It shouldn't be black at all, as it is a composite control of
wx.TextCtrl and wx.SpinButton, and none of those two controls are
natively black... Hopefully there should be some wxPython user with a
Mac and a 2.9 version that may be able to find out what's going on.

Andrea.

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

···

On 8 March 2012 14:28, Carlos Grohmann wrote:

Hi,

I just upgraded my wxpython to 2.9beta (in order to stop using arch -
i386) on my Mac with OSX Lion, and now the Floatspin ctrls I have in
my app all have a black background.
Any way to change this?

Although FloatSpin is one of my children, I have no idea what has
changed in the Mac port to cause this,

Probably part of the difference between Carbon and Cocoa...

nor I can find out as I don't
use Mac.

We should really fix that one of these days. :wink:

It shouldn't be black at all, as it is a composite control of
wx.TextCtrl and wx.SpinButton, and none of those two controls are
natively black... Hopefully there should be some wxPython user with a
Mac and a 2.9 version that may be able to find out what's going on.

It's the background of the PyControl that is black and it has something to do with the code wrapped by "Philip Semanchuk change" comments. I suspect that we should just not do anything at all there for Mac and leave the background the default color, but I'll do some more experimenting later to be sure.

···

On 3/8/12 11:19 AM, Andrea Gavana wrote:

On 8 March 2012 14:28, Carlos Grohmann wrote:

--
Robin Dunn
Software Craftsman