X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e933b5bc365e0907a4f0fd15b4c49e4c96c2b59f..be05b434519887d3e8c1634120d52e052b0530c1:/src/motif/timer.cpp diff --git a/src/motif/timer.cpp b/src/motif/timer.cpp index edf7f20a5e..48677e8a1f 100644 --- a/src/motif/timer.cpp +++ b/src/motif/timer.cpp @@ -1,20 +1,23 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: timer.cpp +// Name: src/motif/timer.cpp // Purpose: wxTimer implementation // Author: Julian Smart // Modified by: // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #include "wx/timer.h" -#include "wx/app.h" -#include "wx/hashmap.h" + +#ifndef WX_PRECOMP + #include "wx/app.h" + #include "wx/hashmap.h" +#endif #ifdef __VMS__ #pragma message disable nosimpint @@ -39,7 +42,7 @@ void wxTimerCallback (wxTimer * timer) return; if (timer->m_id == 0) - return; // Avoid to process spurious timer events + return; // Avoid to process spurious timer events if (!timer->m_oneShot) timer->m_id = XtAppAddTimeOut((XtAppContext) wxTheApp->GetAppContext(), @@ -89,5 +92,3 @@ void wxTimer::Stop() } m_milli = 0 ; } - -