[wxPython-dev] tiny patch

Robin Dunn robin at alldunn.com
Mon Mar 26 11:12:29 PDT 2007


Peter Damoc wrote:
> Hi Robin,
> 
> could you just add in
> wx.lib.buttons after line 591 the following
> 
>         if not self.IsEnabled():
>             state = wx.CONTROL_DISABLED
> 
> Right now if the button is disabled the bevel is still drawn as if it 
> was enabled and, at least on WinXP, there is a visible difference.

Thanks.

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





More information about the wxpython-dev mailing list