Fix for drag object bug

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-06-21 22:39:24 +00:00
parent fe5e444a73
commit 478ba84485

View File

@@ -123,7 +123,7 @@ class ShapeCanvas(wx.ScrolledWindow):
self._draggedShape.GetEventHandler().OnDragLeft(True, x, y, keys, self._draggedAttachment)
self._oldDragX, self._oldDragY = x, y
elif evt.LeftUp and self._draggedShape and self._dragState == ContinueDraggingLeft:
elif evt.LeftUp() and self._draggedShape and self._dragState == ContinueDraggingLeft:
self._dragState = NoDragging
self._checkTolerance = True