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:
@@ -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
|
||||
|
Reference in New Issue
Block a user