Page 1 of 1

Is wxWindow::HandleWindowEvent safe for multithreading

Posted: Mon Oct 21, 2019 3:40 am
by Ronald
In working thread call wxWindow::HandleWindowEvent to updtae UI, is it safe?

Re: Is wxWindow::HandleWindowEvent safe for multithreading

Posted: Mon Oct 21, 2019 5:58 am
by doublemax
No. Use QueueEvent or AddPendingEvent.
https://docs.wxwidgets.org/trunk/classw ... ef0318b59a