|
From: Kevin A. <ka...@us...> - 2005-12-25 13:45:03
|
Update of /cvsroot/pythoncard/PythonCard/components In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26060 Modified Files: list.py Log Message: fixed isSelected SF bug #1202846 Index: list.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/components/list.py,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** list.py 4 Sep 2004 23:13:39 -0000 1.28 --- list.py 25 Dec 2005 13:44:50 -0000 1.29 *************** *** 122,131 **** # KEA was getSelected ! def isSelected( self, aPosition ) : """Determines whether an item is selected. aPosition is the zero-based item index ! Returns 1 if the given item is selected, 0 otherwise. """ ! return self.Selected( ) def setString( self, n, aString ) : --- 122,131 ---- # KEA was getSelected ! def isSelected(self, aPosition): """Determines whether an item is selected. aPosition is the zero-based item index ! Returns True if the given item is selected, False otherwise. """ ! return self.IsSelected(aPosition) def setString( self, n, aString ) : |