-# 11/25/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for V2.5
-# o There is one wx.Size() I haven't figured out how to get rid of yet.
-#
import random
for ch in text:
dc.SetTextForeground(random.choice(colors))
- dc.DrawText(ch, (x, y))
+ dc.DrawText(ch, x, y)
w, h = dc.GetTextExtent(ch)
x = x + w
if x > rect.right - 5: