From: Kevin A. <ka...@us...> - 2004-09-18 18:21:09
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17102 Modified Files: event.py Log Message: changed dialogs sample to just use a list added selection and stringSelection attributes to SelectEvent Index: event.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/event.py,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -d -r1.68 -r1.69 *** event.py 9 May 2004 18:50:58 -0000 1.68 --- event.py 18 Sep 2004 18:20:28 -0000 1.69 *************** *** 275,278 **** --- 275,290 ---- name = 'select' + def decorate(self, aWxEvent, source): + aWxEvent = Event.decorate(self, aWxEvent, source) + try: + aWxEvent.selection = aWxEvent.GetSelection() + except: + pass + try: + aWxEvent.stringSelection = aWxEvent.GetString() + except: + pass + return aWxEvent + # KEA 2004-05-09 # this is referenced in debug.py |