- return TRUE;
- }
-#elif defined(HAVE_FTIME)
- struct timeb tb;
- if ( ftime(&tb) == 0 )
- {
- *timeZone = 60*tb.timezone;
- *dstObserved = tb.dstflag;
- }
-#else
- // special hacks for known compilers - I wonder if this is still needed,
- // i.e. if there are any of them which don't support localtime()? (VZ)
-
- #if defined(__BORLANDC__)
- *timeZone = _timezone;
- *dstObserved = _daylight;
- #elif defined(__SALFORDC__)
- *timeZone = _timezone;
- *dstObserved = daylight;
- #elif defined(__VISAGECPP__)
- *timeZone = _timezone;
- *dstObserved = daylight;
- #else
- wxFAIL_MSG(_T("wxGetLocalTime() not implemented"));
- #endif // compiler
-#endif
+ return m_impl->GetInterval();
+}
+
+bool wxTimer::IsOneShot() const
+{
+ wxCHECK_MSG( m_impl, false, _T("uninitialized timer") );