reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-03-01 23:49:52 +00:00
parent 08e2c57078
commit 38aff7bb01
3 changed files with 3 additions and 3 deletions

View File

@ -4822,7 +4822,7 @@ class ListCtrl(_core.Control):
def IsSelected(self, idx):
'''return True if the item is selected'''
return self.GetItemState(idx, wx.LIST_STATE_SELECTED) != 0
return (self.GetItemState(idx, wx.LIST_STATE_SELECTED) & wx.LIST_STATE_SELECTED) != 0
def SetColumnImage(self, col, image):
item = self.GetColumn(col)

View File

@ -4809,7 +4809,7 @@ class ListCtrl(_core.Control):
def IsSelected(self, idx):
'''return True if the item is selected'''
return self.GetItemState(idx, wx.LIST_STATE_SELECTED) != 0
return (self.GetItemState(idx, wx.LIST_STATE_SELECTED) & wx.LIST_STATE_SELECTED) != 0
def SetColumnImage(self, col, image):
item = self.GetColumn(col)

View File

@ -4834,7 +4834,7 @@ class ListCtrl(_core.Control):
def IsSelected(self, idx):
'''return True if the item is selected'''
return self.GetItemState(idx, wx.LIST_STATE_SELECTED) != 0
return (self.GetItemState(idx, wx.LIST_STATE_SELECTED) & wx.LIST_STATE_SELECTED) != 0
def SetColumnImage(self, col, image):
item = self.GetColumn(col)