Changeset 2292 for trunk/src/user32/new/oslibmsgtranslate.cpp
- Timestamp:
- Jan 2, 2000, 8:30:47 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/oslibmsgtranslate.cpp
r2291 r2292 1 /* $Id: oslibmsgtranslate.cpp,v 1. 2 2000-01-01 17:07:41cbratschi Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.3 2000-01-02 19:30:43 cbratschi Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 113 113 win32wnd = Win32BaseWindow::GetWindowFromOS2Handle(os2Msg->hwnd); 114 114 //PostThreadMessage posts WIN32APP_POSTMSG msg without window handle 115 if((win32wnd == 0 && os2Msg->msg != WM_CREATE &&os2Msg->msg != WIN32APP_POSTMSG))115 if((win32wnd == 0) && (os2Msg->msg != WM_CREATE) && (os2Msg->msg != WIN32APP_POSTMSG)) 116 116 { 117 117 goto dummymessage; //not a win32 client window … … 298 298 299 299 if (!win32wnd->CanReceiveSizeMsgs()) goto dummymessage; 300 300 //CB: todo: send WM_NCCALCSIZE 301 #if 0 //CB: ignore it 301 302 dprintf(("Set client rectangle to (%d,%d)(%d,%d)", swpOld.x, swpOld.y, swpOld.x + swpOld.cx, swpOld.y + swpOld.cy)); 302 303 win32wnd->setClientRect(swpOld.x, swpOld.y, swpOld.x + swpOld.cx, swpOld.y + swpOld.cy); … … 321 322 goto dummymessage; 322 323 } 324 #else 325 goto dummymessage; 326 #endif 323 327 } 324 328
Note:
See TracChangeset
for help on using the changeset viewer.