-#if defined(__MINGW32__) && defined(__EGCS__)
- time_t t0;
- struct tm *tp;
- time(&t0);
- tp = localtime(&t0);
- *timeZone = timezone; // tp->tm_gmtoff; // ???
- *dstObserved = tp->tm_isdst;
-#elif defined(__MINGW32__)
- time_t t0;
- struct tm *tp;
- time(&t0);
- tp = localtime(&t0);
- timeb tz;
- ftime(& tz);
- *timeZone = tz._timezone;
- *dstObserved = tp->tm_isdst;
-#else
-
-#if (((defined(__SYSV__) && !defined(__HPUX__)) || defined(__MSDOS__) || defined(__WXMSW__)) && !defined(__GNUWIN32__))
-#ifdef __BORLANDC__
- /* Borland uses underscores */
- *timeZone = _timezone;
- *dstObserved = _daylight;
-#else
- *timeZone = timezone;
- *dstObserved = daylight;
-#endif
-#elif defined(__xlC__) || defined(__AIX__) || defined(__SVR4__) || defined(__SYSV__) || (defined(__GNUWIN32__) && !defined(__MINGW32__)) // || defined(__AIXV3__)
- struct timeval tp;
-#if defined(__SYSV__) || (defined(__GNUWIN32__) && !defined(__MINGW32))
- struct timezone tz;
- gettimeofday(&tp, &tz);
- *timeZone = 60*(tz.tz_minuteswest);
- *dstObserved = tz.tz_dsttime;
-#else
- time_t t0;
- struct tm *tp;
- time(&t0);
- tp = localtime(&t0);
- *timeZone = tp->tm_gmtoff; // ???
- *dstObserved = tp->tm_isdst;
-#endif
-#elif defined(__WXSTUBS__)
- return FALSE;
-#else
-// #error wxGetLocalTime not implemented.
- struct timeval tp;
- struct timezone tz;
- gettimeofday(&tp, &tz);
- *timeZone = 60*(tz.tz_minuteswest);
- *dstObserved = tz.tz_dsttime;
-#endif
-#endif
- // __MINGW32__
- return TRUE;
+ wxCHECK_MSG( m_impl, false, _T("uninitialized timer") );
+
+ return m_impl->Start(milliseconds, oneShot);