summaryrefslogtreecommitdiff
path: root/library/status_handler.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
commit98ecf620f7de377dc8ae9ad7fbd1e3b24477e138 (patch)
treefaadc6d8822c20cd3bc6f50b2a98e6c580585949 /library/status_handler.cpp
parent3.16 (diff)
downloadFreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.gz
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.bz2
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.zip
3.17
Diffstat (limited to 'library/status_handler.cpp')
-rw-r--r--library/status_handler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/status_handler.cpp b/library/status_handler.cpp
index e81746a4..0a131899 100644
--- a/library/status_handler.cpp
+++ b/library/status_handler.cpp
@@ -21,8 +21,8 @@ void updateUiNow()
bool updateUiIsAllowed()
{
- static wxLongLong lastExec = 0;
- const wxLongLong newExec = wxGetLocalTimeMillis();
+ static wxMilliClock_t lastExec = 0;
+ const wxMilliClock_t newExec = wxGetLocalTimeMillis();
if (newExec - lastExec >= UI_UPDATE_INTERVAL) //perform ui updates not more often than necessary
{
bgstack15