X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8fa876ca9ec87e90605808bfcab4d4226965dbad..2421eb827857325ff4886131c337391365986d6b:/wxPython/demo/DrawXXXList.py 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