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