X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e4a197e4c60e461b8068b0619692ea083e30b8b..ed8e1ecb3fdabbbe5062ebba2a50a2bc8d1e2c76:/wxPython/demo/DrawXXXList.py diff --git a/wxPython/demo/DrawXXXList.py b/wxPython/demo/DrawXXXList.py index 776201aa1a..0091b68c2a 100644 --- a/wxPython/demo/DrawXXXList.py +++ b/wxPython/demo/DrawXXXList.py @@ -58,7 +58,7 @@ def makeRandomRectangles(num, W, H): def makeRandomText(num): - Np = 8 # number of charcters in text + Np = 8 # number of characters in text text = [] for i in range(num): word = [] @@ -108,7 +108,7 @@ def makeRandomColors(num): colors = [] for i in range(num): c = whrandom.choice(colours) - colors.append(wxNamedColor(c)) + colors.append(wxNamedColour(c)) return colors @@ -386,7 +386,7 @@ drawing routines. Currently they are: DrawLineList(sequence, pens=None) Where sequence is a tuple, list, whatever of 4 element tuples - (x1,y1, x2,y2) andd pens is either None, a single pen or a list + (x1,y1, x2,y2) and pens is either None, a single pen or a list of pens.