X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/edef87c8274bd4cadcccc4ff107aeb1815e48460..6c73e20df7f3a7ea8c2059a816ffd3655ea2b848:/src/msw/timer.cpp diff --git a/src/msw/timer.cpp b/src/msw/timer.cpp index 1c94d7de49..e9904ba27c 100644 --- a/src/msw/timer.cpp +++ b/src/msw/timer.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// 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) @@ -18,9 +18,11 @@ #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" @@ -29,8 +31,6 @@ #include "wx/hashmap.h" -#include "wx/timer.h" - #include "wx/msw/private.h" // ---------------------------------------------------------------------------- @@ -40,7 +40,7 @@ // define a hash containing all the timers: it is indexed by timer id and // contains the corresponding timer WX_DECLARE_HASH_MAP(unsigned long, wxTimer *, wxIntegerHash, wxIntegerEqual, - wxTimerMap) + wxTimerMap); // instead of using a global here, wrap it in a static function as otherwise it // could have been used before being initialized if a timer object were created @@ -162,4 +162,3 @@ wxTimerProc(HWND WXUNUSED(hwnd), } #endif // wxUSE_TIMER -