Application stops receiving events

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.
Manolo
Can't get richer than this
Can't get richer than this
Posts: 827
Joined: Mon Apr 30, 2012 11:07 pm

Re: Application stops receiving events

Post by Manolo »

What if you get the camera directly in OnTimer instead of OnIdle?
Big Muscle
Earned some good credits
Earned some good credits
Posts: 100
Joined: Sun Jun 27, 2010 6:18 pm

Re: Application stops receiving events

Post by Big Muscle »

So the problem appears also when completely removing idle events and do all processing in onTimer event handler.
Big Muscle
Earned some good credits
Earned some good credits
Posts: 100
Joined: Sun Jun 27, 2010 6:18 pm

Re: Application stops receiving events

Post by Big Muscle »

So I probably found a cause of the problem. There was a hidden call to ProcessEvent initiated from the child thread which resulted in calling GUI functions from this child thread. After fixing this, the problem does not seem to appear anymore :-)
Post Reply