Fix for Python 2.2 issue

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-01-03 18:18:55 +00:00
parent 5a2930ab79
commit 1278f7fcc5

View File

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