]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/timercmn.cpp
changed DoDragDrop(bool) into DoDragDrop(int) and added support for wxDrag_DefaultMov...
[wxWidgets.git] / src / common / timercmn.cpp
index b9f1269ec081a7fdb2706d0cb4308e285d7864be..1d89b6507d7184c607b8ecfdb7e257eb4bac6318 100644 (file)
@@ -161,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