X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ee1025a7e0ae7a0ee95c7e13bf32d2a944065659..aa78d22e2008726218d47da1f2ac5864c11b8ebb:/src/msw/timer.cpp diff --git a/src/msw/timer.cpp b/src/msw/timer.cpp index 127f497d8e..d93588c637 100644 --- a/src/msw/timer.cpp +++ b/src/msw/timer.cpp @@ -9,10 +9,6 @@ // 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" @@ -61,7 +57,7 @@ static wxTimerMap& TimerMap() // ---------------------------------------------------------------------------- // 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 @@ -155,7 +151,7 @@ void wxProcessTimer(wxTimer& timer) 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);