*CtrlCore: TimerProc call moved to utilityProc to fix Docking package

git-svn-id: svn://ultimatepp.org/upp/trunk@3807 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2011-09-02 08:10:45 +00:00
parent 9121452258
commit 8ceb7c9bc5

View file

@ -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;
}