From: Kevin A. <ka...@us...> - 2004-04-27 02:43:41
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15027 Modified Files: event.py Log Message: ButtonMouseClickEvent test added button driven by command to testevents sample Index: event.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/event.py,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** event.py 27 Apr 2004 01:43:54 -0000 1.52 --- event.py 27 Apr 2004 02:43:33 -0000 1.53 *************** *** 396,399 **** --- 396,404 ---- name = 'mouseClick' + class ButtonMouseClickEvent( Event ) : + name = 'mouseClick' + bindFunction = wx.EVT_BUTTON + id = wx.wxEVT_COMMAND_BUTTON_CLICKED + command = True class MouseDoubleClickEvent( Event ) : *************** *** 591,594 **** --- 596,607 ---- #Background initialization InitializationEvent, + + # KEA 2004-04-26 + # should the event map be updated as a component + # module is loaded so that say a Button adds + # its component-specific events to the EventMap + # just like it registers itself with the registry? + # Button events? + ButtonMouseClickEvent, # Calendar events |