Changeset 9933 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Mar 22, 2003, 9:27:12 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r9930 r9933 1 /* $Id: pmwindow.cpp,v 1.20 2 2003-03-20 13:20:44sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.203 2003-03-22 20:27:11 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 866 866 BOOL rc; 867 867 868 win32wnd->checkForDirtyUpdateRegion(); 869 868 870 rc = WinQueryUpdateRect(hwnd, &rectl); 869 871 dprintf(("OS2: WM_PAINT %x (%d,%d) (%d,%d) rc=%d", win32wnd->getWindowHandle(), rectl.xLeft, rectl.yBottom, rectl.xRight, rectl.yTop, rc)); … … 873 875 { 874 876 win32wnd->DispatchMsgA(pWinMsg); 877 if(WinQueryUpdateRect(hwnd, NULL) == TRUE) 878 {//the application didn't validate the update region; Windows 879 //will only send a WM_PAINT once until another part of the 880 //window is invalidated. Unfortunately PM keeps on sending 881 //WM_PAINT messages until we validate the update region. 882 883 win32wnd->saveAndValidateUpdateRegion(); 884 } 875 885 } 876 886 else goto RunDefWndProc;
Note:
See TracChangeset
for help on using the changeset viewer.