def HideCursor(self): if IsNotWX4(): c = wx.StockCursor(wx.CURSOR_BLANK) else: c = wx.Cursor(wx.CURSOR_BLANK) self.SetCursor(c)