Kevin O's demo modules fixup patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user