tiny patch

Peter Damoc pdamoc at gmail.com
Mon Mar 26 03:00:16 PDT 2007


Hi Robin,

could you just add in
wx.lib.buttons after line 591 the following

        if not self.IsEnabled():
            state =3D 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.

Thank you in advance.

Peter
-- =

There is NO FATE, we are the creators.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-dev/attachments/20070326=
/641e2cf3/attachment.htm


More information about the wxpython-dev mailing list