]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/stattext.py
Add GetOwner accessor and fix wxRTTI inheritance for wxTimer. Set the
[wxWidgets.git] / wxPython / wx / lib / stattext.py
index ec38e165e71de310ce4a1b013bb3b3fbdfc375d3..ba49e318f8c8819e7919332d0b45f726080b0dd7 100644 (file)
@@ -131,7 +131,7 @@ class GenStaticText(wx.PyControl):
                 x = width - w
             if style & wx.ALIGN_CENTER:
                 x = (width - w)/2
-            dc.DrawText(line, (x, y))
+            dc.DrawText(line, x, y)
             y += h