X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de85a884d77ad5a29b418b343d4d3cc99c127b5e..2245b2b2c3339ecf023e5880caa803610a5d1907:/src/common/timercmn.cpp diff --git a/src/common/timercmn.cpp b/src/common/timercmn.cpp index 3ff1adf9d1..1d89b6507d 100644 --- a/src/common/timercmn.cpp +++ b/src/common/timercmn.cpp @@ -110,6 +110,11 @@ #if wxUSE_GUI && wxUSE_TIMER +wxTimerBase::~wxTimerBase() +{ + // this destructor is required for Darwin +} + void wxTimerBase::Notify() { // the base class version generates an event if it has owner - which it @@ -156,12 +161,12 @@ void wxStopWatch::Start(long t) long wxStopWatch::GetElapsedTime() const { - return (wxGetLocalTimeMillis() - m_t0).GetLo(); + return (wxGetLocalTimeMillis() - m_t0).GetLo(); } long wxStopWatch::Time() const { - return (m_pause ? m_pause : GetElapsedTime()); + return m_pauseCount ? m_pause : GetElapsedTime(); } #endif // wxUSE_LONGLONG