git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28545
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (sm_updateInterval == -1)
return false;
if (sm_updateInterval == -1)
return false;
- else if (sm_updateInterval == 0)
+
+ if (sm_updateInterval == 0)
#if wxUSE_STOPWATCH && wxUSE_LONGLONG
#if wxUSE_STOPWATCH && wxUSE_LONGLONG
- wxLongLong now = wxGetLocalTimeMillis();
- if (now > (sm_lastUpdate + sm_updateInterval))
- {
- return true;
- }
-#else
- // If we don't have wxStopWatch or wxLongLong, we
- // should err on the safe side and update now anyway.
+ wxLongLong now = wxGetLocalTimeMillis();
+ if (now > (sm_lastUpdate + sm_updateInterval))
+ {
+#else
+ // If we don't have wxStopWatch or wxLongLong, we
+ // should err on the safe side and update now anyway.
+ return true;
+#endif
}
// Reset the update time to provide a delay until the next
}
// Reset the update time to provide a delay until the next
orient
);
m_timerAutoScroll->Start(50); // FIXME: make configurable
orient
);
m_timerAutoScroll->Start(50); // FIXME: make configurable
+#else
+ wxUnusedVar(pos);