Ah! Great tip, thanks!
Now instead of calling:

parent.onRequest(param)

I call:

wx.CallAfter(lambda x: parent.onRequest(x), param)

Way cool.
2B



> This is rather out of date. wxPython provides a wx.CallAfter function,
> which will call the passed callable on the next spin through the event
> loop. It's essentially a wrapper around the custom event mechanism
> described above.
>
> > Diez

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to