]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for Python 2.2 issue
authorRobin Dunn <robin@alldunn.com>
Thu, 3 Jan 2002 18:18:55 +0000 (18:18 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 3 Jan 2002 18:18:55 +0000 (18:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wxPython/lib/buttons.py

index 7e9aaa2aeb7217c8089adb56baed0423fd368569..e45726092a8c1d04783710ce3c1122545afa6ab5 100644 (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...