]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/DrawXXXList.py
corrected Unicode conversion when replacing shared library extension with ".rsrc"
[wxWidgets.git] / wxPython / demo / DrawXXXList.py
index 776201aa1a47e46dd1e6d6f76d87c3c060c95692..0091b68c2a323c03e9525e241aa30f1c5f54e3fc 100644 (file)
@@ -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)
 </pre>
      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.
 
 <pre>