Changeset 3525 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- May 12, 2000, 8:09:42 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r3388 r3525 1 /* $Id: pmwindow.cpp,v 1. 89 2000-04-15 15:11:13sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.90 2000-05-12 18:09:41 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 140 140 141 141 dprintf(("InitPM: Desktop (%d,%d)", ScreenWidth, ScreenHeight)); 142 return OSLibInitMsgQueue();142 return TRUE; 143 143 } /* End of main */ 144 144 //****************************************************************************** … … 439 439 440 440 case WM_PAINT: 441 { 442 // RECTL rectl; 443 441 444 dprintf(("OS2: WM_PAINT")); 442 445 win32wnd->DispatchMsgA(pWinMsg); 443 goto RunDefWndProc; 446 //SvL: Not calling the default window procedure causes all sorts of 447 // strange problems (redraw & hanging app) 448 // WinQueryUpdateRect(hwnd, &rectl); 449 // if(rectl.xLeft == 0 && rectl.yTop == 0 && rectl.xRight == 0 && rectl.yBottom == 0) { 450 // RestoreOS2TIB(); 451 // return (MRESULT)FALSE; 452 // } 453 // dprintf(("Update rectangle (%d,%d)(%d,%d) not empty, msg %x", rectl.xLeft, rectl.yTop, rectl.xRight, rectl.yBottom, pWinMsg->message)); 454 goto RunDefWndProc; 455 } 444 456 445 457 case WM_CONTEXTMENU:
Note:
See TracChangeset
for help on using the changeset viewer.