From 7438e3f3c617e61ff8af6522e77c6b89823daca3 Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Mon, 28 Sep 2009 17:17:08 +0000 Subject: [PATCH] ENH: Add wxCursor in the editor cursor --- invesalius/data/viewer_slice.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/invesalius/data/viewer_slice.py b/invesalius/data/viewer_slice.py index cd19866..f0117cf 100755 --- a/invesalius/data/viewer_slice.py +++ b/invesalius/data/viewer_slice.py @@ -196,7 +196,7 @@ class Viewer(wx.Panel): def __set_mode_editor(self, pubsub_evt): self.append_mode('EDITOR') self.mouse_pressed = 0 - self.interactor.SetCursor(wx.StockCursor(wx.CURSOR_BLANK)) + #self.interactor.SetCursor(wx.StockCursor(wx.CURSOR_BLANK)) def __set_mode_spin(self, pubsub_evt): self.append_mode('SPIN') @@ -338,8 +338,9 @@ class Viewer(wx.Panel): ps.Publisher().sendMessage('Update slice viewer') def OnEnterInteractor(self, obj, evt): - self.interactor.SetCursor(wx.StockCursor(wx.CURSOR_BLANK)) - + #self.interactor.SetCursor(wx.StockCursor(wx.CURSOR_BLANK)) + pass + def OnLeaveInteractor(self, obj, evt): for slice_data in self.slice_data_list: slice_data.cursor.Show(0) -- libgit2 0.21.2