Changeset 3708 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Jun 14, 2000, 4:25:57 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r3705 r3708 1 /* $Id: pmwindow.cpp,v 1.9 4 2000-06-14 13:15:24sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.95 2000-06-14 14:25:57 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 689 689 { 690 690 RECTL rectl; 691 692 WinQueryUpdateRect(hwnd, &rectl); 691 BOOL rc; 692 693 rc = WinQueryUpdateRect(hwnd, &rectl); 693 694 dprintf(("OS2: WM_PAINT (%d,%d) (%d,%d)", rectl.xLeft, rectl.yBottom, rectl.xRight, rectl.yTop)); 694 if(win32wnd->IsWindowCreated()) 695 if(rc && win32wnd->IsWindowCreated() && (rectl.xLeft != rectl.xRight && 696 rectl.yBottom != rectl.yTop)) 695 697 { 696 698 PRECT pClient = win32wnd->getClientRectPtr(); … … 705 707 win32wnd->DispatchMsgA(pWinMsg); 706 708 } 709 else goto RunDefWndProc; 710 707 711 //SvL: Not calling the default window procedure causes all sorts of 708 712 // strange problems (redraw & hanging app) … … 714 718 // } 715 719 // dprintf(("Update rectangle (%d,%d)(%d,%d) not empty, msg %x", rectl.xLeft, rectl.yTop, rectl.xRight, rectl.yBottom, pWinMsg->message)); 716 goto RunDefWndProc;717 //break;720 // goto RunDefWndProc; 721 break; 718 722 } 719 723
Note:
See TracChangeset
for help on using the changeset viewer.