diff --git a/wxPython/wxPython/lib/buttons.py b/wxPython/wxPython/lib/buttons.py index d28c281fd0..e739c77659 100644 --- a/wxPython/wxPython/lib/buttons.py +++ b/wxPython/wxPython/lib/buttons.py @@ -133,6 +133,11 @@ class wxGenButton(wxPyControl): return self.IsShown() and self.IsEnabled() + def Enable(self, enable=true): + wxPyControl.Enable(self, enable) + self.Refresh() + + def SetBezelWidth(self, width): """Set the width of the 3D effect""" self.bezelWidth = width