/////////////////////////////////////////////////////////////////////////////
-// Name: msw/timer.cpp
+// Name: src/msw/timer.cpp
// Purpose: wxTimer implementation
// Author: Julian Smart
// Modified by: Vadim Zeitlin (use hash map instead of list, global rewrite)
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma implementation "timer.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#if wxUSE_TIMER
+#include "wx/timer.h"
+
#ifndef WX_PRECOMP
- #include "wx/window.h"
#include "wx/list.h"
+ #include "wx/window.h"
#include "wx/event.h"
#include "wx/app.h"
#include "wx/intl.h"
#include "wx/log.h"
+ #include "wx/hashmap.h"
#endif
-#include "wx/hashmap.h"
-
-#include "wx/timer.h"
-
#include "wx/msw/private.h"
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// timer callback used for all timers
-void WINAPI wxTimerProc(HWND hwnd, UINT msg, UINT idTimer, DWORD dwTime);
+void WINAPI wxTimerProc(HWND hwnd, UINT msg, UINT_PTR idTimer, DWORD dwTime);
// ----------------------------------------------------------------------------
// macros
void WINAPI
wxTimerProc(HWND WXUNUSED(hwnd),
UINT WXUNUSED(msg),
- UINT idTimer,
+ UINT_PTR idTimer,
DWORD WXUNUSED(dwTime))
{
wxTimerMap::iterator node = TimerMap().find((unsigned long)idTimer);
}
#endif // wxUSE_TIMER
-