mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
*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:
parent
0da416084a
commit
82e7a7de1a
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue