From 8ceb7c9bc517f368bd098fcbdc32b346cba18591 Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 2 Sep 2011 08:10:45 +0000 Subject: [PATCH] *CtrlCore: TimerProc call moved to utilityProc to fix Docking package git-svn-id: svn://ultimatepp.org/upp/trunk@3807 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CtrlCore/Win32Wnd.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/uppsrc/CtrlCore/Win32Wnd.cpp b/uppsrc/CtrlCore/Win32Wnd.cpp index 28690cd3a..a2b36c753 100644 --- a/uppsrc/CtrlCore/Win32Wnd.cpp +++ b/uppsrc/CtrlCore/Win32Wnd.cpp @@ -193,6 +193,9 @@ LRESULT CALLBACK Ctrl::UtilityProc(HWND hWnd, UINT message, WPARAM wParam, LPARA { sClipMap(); switch(message) { + case WM_TIMER: + TimerProc(GetTickCount()); + break; case WM_RENDERFORMAT: RenderFormat((dword)wParam); return 0; @@ -860,12 +863,10 @@ bool Ctrl::ProcessEvents(bool *quit) { if(ProcessEvent(quit)) { while(ProcessEvent(quit) && (!LoopCtrl || LoopCtrl->InLoop())); // LoopCtrl-MF 071008 - TimerProc(GetTickCount()); SweepMkImageCache(); return true; } SweepMkImageCache(); - TimerProc(GetTickCount()); return false; }