Under OSX, wxWidget 3.0.2
I have a wxFrame and a worker c++ std::thread.
worker thread is very simple.
Code: Select all
void wt()
{
for(;;)
{
do_something();
std::this_thread::sleep_for(std::chrono::milliseconds(30)); // sleep 30ms
}
}
at that time,
If I move mouse around the wxFrame, sleep return and continue.
Under Windows, There's no problem.
Any help would be much appreciated.