Changeset 33

Show
Ignore:
Timestamp:
02/22/08 03:46:24 (7 months ago)
Author:
Chris Miller
Message:

Minor change.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/win32/dfl/application.d

    r32 r33  
    777777             
    778778            Message msg; 
    779             while(GetMessageA(&msg._winMsg, handle, 0, 0)
    780             { 
    781                 /+ 
    782                 //if(!IsDialogMessageA(handle, &msg._winMsg)) // Back to the old problems. 
     779            for(;;
     780            { 
     781                WaitMessage(); 
     782                if(PeekMessageA(&msg._winMsg, handle, 0, 0, PM_REMOVE | PM_NOYIELD)) 
    783783                { 
    784                     TranslateMessage(&msg._winMsg); 
    785                     DispatchMessageA(&msg._winMsg); 
     784                    /+ 
     785                    //if(!IsDialogMessageA(handle, &msg._winMsg)) // Back to the old problems. 
     786                    { 
     787                        TranslateMessage(&msg._winMsg); 
     788                        DispatchMessageA(&msg._winMsg); 
     789                    } 
     790                    +/ 
     791                    gotMessage(msg); 
    786792                } 
    787                 +/ 
    788                 gotMessage(msg); 
    789793                 
    790794                if(!isHandleCreated)