X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..61940a7061d0b5d5122b1e1e939cfa2d72596999:/wxPython/demo/DrawXXXList.py?ds=sidebyside diff --git a/wxPython/demo/DrawXXXList.py b/wxPython/demo/DrawXXXList.py index 1ac1338d11..07adb42961 100644 --- a/wxPython/demo/DrawXXXList.py +++ b/wxPython/demo/DrawXXXList.py @@ -141,8 +141,8 @@ def makeRandomColors(num): colors = [] for i in range(num): - c = whrandom.choice(colours) - colors.append(wxNamedColour(c)) + c = random.choice(colours) + colors.append(wx.NamedColour(c)) return colors