Russell Keith-Magee wrote:
4) However, if I start an edit, and press escape immediately, no End
event is emitted.I've tested this with wxPython 2.5.3.1, on both Linux and Windows, and I
get the same behaviour. If you want a working example, the wxPython demo
exhibits the problem; (4) doesn't log an end event.
It does for me (on winXP and also on wxGTK2) but perhaps I am not doing it the same way as you. How are you initiating the edit in the demo? I tried both the built-in way with the 2nd left click on an item and also the programatic way which in the demo is done by a right-click. In either case pressing ESC immediately still gives me the OnEndEdit message in the log.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!