OSX idle throttle

This commit is contained in:
Charles J. Cliffe 2015-08-13 21:10:43 -04:00
parent e04b12662f
commit 709ab4b7d6

View File

@ -775,6 +775,9 @@ void AppFrame::OnIdle(wxIdleEvent& event) {
if (this->IsVisible()) {
waterfallCanvas->DoPaint();
demodWaterfallCanvas->DoPaint();
#ifdef __APPLE__
usleep(5000);
#endif
} else {
#ifndef _WIN32
usleep(15000);