X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2df8090e8f9f53ce5211f7037c632f792fed9be..b6294124ecb7b6b72e4ef0b72e2934d74f56e65b:/wxPython/wx/lib/ogl/_canvas.py diff --git a/wxPython/wx/lib/ogl/_canvas.py b/wxPython/wx/lib/ogl/_canvas.py index a3e2f11898..f5f75a1457 100644 --- a/wxPython/wx/lib/ogl/_canvas.py +++ b/wxPython/wx/lib/ogl/_canvas.py @@ -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