Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8ac4b00

Browse files
committed
Update examples/user_interfaces/wxcursor_demo.py
Changed wx.NamedColor to wx.NamedColour for compatibility with wxpython 2.9.
1 parent 7e14561 commit 8ac4b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/user_interfaces/wxcursor_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def __init__(self, ):
1818
wx.Frame.__init__(self,None,-1,
1919
'CanvasFrame',size=(550,350))
2020

21-
self.SetBackgroundColour(wx.NamedColor("WHITE"))
21+
self.SetBackgroundColour(wx.NamedColour("WHITE"))
2222

2323
self.figure = Figure()
2424
self.axes = self.figure.add_subplot(111)

0 commit comments

Comments
 (0)