[wxPython-users] Windows/Linux buttons look

Robin Dunn robin at alldunn.com
Mon Jan 1 12:22:55 PST 2007


Basil Shubin wrote:
> Hi friends and Happy New Year!
> 
> On linux system buttons in disabled state, looks like REALLY disabled 
> buttons, but on windows they are still looks like active. This is 
> correct behavior? Can I fix it?

I assume it is a wx.BitmapButton, right?  What styles do you use when 
creating the button?  Is it windows XP?  If so then I think that the 
default way to show the button as disabled is to change the standard 
border by removing the 3D effect, I don't remember if that was the same 
with previous versions of Windows.  But you don't appear to be showing 
the border at all so if that's the case then you may need to supply the 
disabled bitmap that you want instead.

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





More information about the wxpython-users mailing list