Prevent re-entry but do not discard the event

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7477
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Prevent re-entry but do not discard the event

Post by ONEEYEMAN »

Hi,
Why do you need to call CallAfter()? Why not send the ThreadEvent directly?

And why do need to call wxYield ()?

Thank you.
Post Reply