]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/CustomDragAndDrop.py
Added wxFRAME_DRAWER
[wxWidgets.git] / wxPython / demo / CustomDragAndDrop.py
index b1c1e5a890df6ed0d8f03631091ca00584cdf8a9..ff22fb18b073abd7d38b9f8dfadeb3aca63c0ab7 100644 (file)
@@ -69,7 +69,7 @@ class DoodlePad(wx.Window):
             dc = wx.ClientDC(self)
             dc.BeginDrawing()
             dc.SetPen(wx.Pen(wx.BLUE, 3))
-            coords = ((self.x, self.y), event.GetPositionTuple())
+            coords = (self.x, self.y) + event.GetPositionTuple()
             self.curLine.append(coords)
             dc.DrawLine(*coords)
             self.x, self.y = event.GetPositionTuple()