Changeset 5805 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- May 25, 2001, 9:59:30 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r5777 r5805 1 /* $Id: pmwindow.cpp,v 1.13 1 2001-05-22 09:33:12sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.132 2001-05-25 19:59:29 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 167 167 win32wnd = Win32BaseWindow::GetWindowFromOS2Handle(hwnd); 168 168 169 //// dprintf(("window %x msg %x", (win32wnd) ? win32wnd->getWindowHandle() : 0, msg)); 170 169 171 if(!teb || (msg != WM_CREATE && win32wnd == NULL)) { 170 172 dprintf(("OS2: Invalid win32wnd pointer for window %x msg %x", hwnd, msg)); … … 199 201 //NOTE-------------->>>>>> If this is changed, also change Win32WindowProc!! <<<<<<<<<<<-------------------- END 200 202 201 if(msg == WIN32APP_POSTMSG) {203 if(msg >= WIN32APP_POSTMSG) { 202 204 //probably win32 app user message 205 dprintf2(("Posted message %x->%x", msg, msg-WIN32APP_POSTMSG)); 203 206 if((ULONG)mp1 == WIN32MSG_MAGICA) { 204 207 rc = (MRESULT)win32wnd->DispatchMsgA(pWinMsg); … … 207 210 if((ULONG)mp1 == WIN32MSG_MAGICW) { 208 211 rc = (MRESULT)win32wnd->DispatchMsgW(pWinMsg); 212 } 213 else {//broadcasted message 214 rc = (MRESULT)win32wnd->DispatchMsgA(pWinMsg); 209 215 } 210 216 RestoreOS2TIB();
Note:
See TracChangeset
for help on using the changeset viewer.