Threads and Wx

luisgustavo@petrobras.com.br wrote:

I use a thread on my wxpython program. It had a problem when the thread
tryed to make a big change on the main wx father thread. I solved this by
creating an event as explained in the doc thread example.
Now the child thread still makes updates in the father's wx toolbar
directly, as it was already working before and I did not change. Is this
safe or should I create events for this minor updates?

No, it is not safe. You could use events, or you could use
wx.CallAfter(), which uses events under the covers.

- Josiah