Changeset 3373 for trunk/src/user32/oslibmsg.cpp
- Timestamp:
- Apr 13, 2000, 8:51:43 PM (25 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/oslibmsg.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibmsg.cpp
r3274 r3373 1 /* $Id: oslibmsg.cpp,v 1.3 1 2000-03-29 17:16:06sandervl Exp $ */1 /* $Id: oslibmsg.cpp,v 1.32 2000-04-13 18:50:44 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 180 180 MsgThreadPtr->time = -1; 181 181 if(msg->hwnd) { 182 thdb->nrOfMsgs = 1;183 thdb->msgstate++; //odd -> next call to our PM window handler should dispatch the translated msg184 memcpy(&thdb->msg, msg, sizeof(MSG));182 thdb->nrOfMsgs = 1; 183 thdb->msgstate++; //odd -> next call to our PM window handler should dispatch the translated msg 184 memcpy(&thdb->msg, msg, sizeof(MSG)); 185 185 } 186 186 if(os2msg.hwnd || os2msg.msg == WM_QUIT) { 187 return (LONG)WinDispatchMsg(thdb->hab, &os2msg); 187 memset(MsgThreadPtr, 0, sizeof(*MsgThreadPtr)); 188 return (LONG)WinDispatchMsg(thdb->hab, &os2msg); 188 189 } 189 190 //SvL: Don't dispatch messages sent by PostThreadMessage (correct??)
Note:
See TracChangeset
for help on using the changeset viewer.
