diff --git a/wxPython/wxPython/lib/buttons.py b/wxPython/wxPython/lib/buttons.py index 7e9aaa2aeb..e45726092a 100644 --- a/wxPython/wxPython/lib/buttons.py +++ b/wxPython/wxPython/lib/buttons.py @@ -151,7 +151,7 @@ class wxGenButton(wxControl): def SetBackgroundColour(self, colour): - wxWindow.SetBackgroundColour(self, colour) + wxControl.SetBackgroundColour(self, colour) # Calculate a new set of highlight and shadow colours based on # the new background colour. Works okay if the colour is dark...