From 0e79905aa05c617b7bd3ff472e3785d7bbd81323 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 4 Aug 2016 15:14:43 -0700 Subject: [PATCH] Don't set the hourglass cursor every time the diagram is redrawn. It can get real annoying. --- wx/lib/ogl/diagram.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wx/lib/ogl/diagram.py b/wx/lib/ogl/diagram.py index c79007f5..64f0c9bb 100644 --- a/wx/lib/ogl/diagram.py +++ b/wx/lib/ogl/diagram.py @@ -38,12 +38,8 @@ class Diagram(object): def Redraw(self, dc): """Redraw the shapes in the diagram on the specified device context.""" if self._shapeList: - if self.GetCanvas(): - self.GetCanvas().SetCursor(wx.HOURGLASS_CURSOR) for object in self._shapeList: object.Draw(dc) - if self.GetCanvas(): - self.GetCanvas().SetCursor(wx.STANDARD_CURSOR) def Clear(self, dc): """Clear the specified device context."""