diff options
Diffstat (limited to 'lib/status_handler.cpp')
-rw-r--r-- | lib/status_handler.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/status_handler.cpp b/lib/status_handler.cpp index c24c6f50..5fb80161 100644 --- a/lib/status_handler.cpp +++ b/lib/status_handler.cpp @@ -5,21 +5,12 @@ // ************************************************************************** #include "status_handler.h" -#include <wx/app.h> +//#include <wx/app.h> #include <zen/tick_count.h> using namespace zen; -void zen::updateUiNow() -{ - //process UI events and prevent application from "not responding" -> NO performance issue! - wxTheApp->Yield(); - - // while (wxTheApp->Pending()) - // wxTheApp->Dispatch(); -} - namespace { const std::int64_t TICKS_UPDATE_INTERVAL = UI_UPDATE_INTERVAL* ticksPerSec() / 1000; |