]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Cursor.py
Native Smartphone wxTextCtrl.
[wxWidgets.git] / wxPython / demo / Cursor.py
index 0429bdd4b9f9513593b5424a89c892d392c7ad14..29b7f9c7ea2d3eaaaee0677b45d749fb01fb8087 100644 (file)
@@ -109,7 +109,8 @@ class TestPanel(wx.Panel):
         dc = wx.ClientDC(self.win)
         dc.SetPen(wx.Pen("RED"))
         dc.SetBrush(wx.Brush("RED"))
-        dc.DrawCircle(evt.GetPosition(), 4)
+        pos = evt.GetPosition()
+        dc.DrawCircle(pos.x, pos.y, 4)
         
 
 #----------------------------------------------------------------------