Explicitly refresh when enable is called so the display will update.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-01-21 23:14:59 +00:00
parent 0ad25b6293
commit c652c9484d

View File

@@ -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