wxApp.FilterEvent( event )

I'm using wxSafeYield() to react to user input while running time-consuming functions.
I've read that wxApp.FilterEvent is not implemented in wxPython. Is there any other way to
mask the events beside disabling controls ?

Thank you,
Matt

Matthias Kirst wrote:

I'm using wxSafeYield() to react to user input while running time-consuming functions.
I've read that wxApp.FilterEvent is not implemented in wxPython. Is there any other way to
mask the events beside disabling controls ?

Catch the events in question and check a flag that specifies whether they should be processed or not and if not return immediately.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!