Changeset 2418 for trunk/src/user32/new/win32wbase.cpp
- Timestamp:
- Jan 12, 2000, 4:14:16 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wbase.cpp
r2415 r2418 1 /* $Id: win32wbase.cpp,v 1.3 5 2000-01-12 12:40:47sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.36 2000-01-12 15:14:16 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2028 2028 } 2029 2029 2030 if(IsWindowDestroyed()) { 2031 //changing the position of a window that's being destroyed can cause crashes in PMMERGE 2032 dprintf(("SetWindowPos; window already destroyed")); 2033 return TRUE; 2034 } 2030 2035 WINDOWPOS wpos; 2031 2036 SWP swp, swpOld; … … 2053 2058 2054 2059 OSLibMapWINDOWPOStoSWP(&wpos, &swp, &swpOld, hParent, OS2HwndFrame); 2055 if (swp.fl == 0) 2056 return TRUE; 2060 if (swp.fl == 0) { 2061 if (fuFlags & SWP_FRAMECHANGED) 2062 { 2063 FrameUpdateClient(this); 2064 } 2065 return TRUE; 2066 } 2057 2067 2058 2068 // if ((swp.fl & SWPOS_ZORDER) && (swp.hwndInsertBehind > HWNDOS_BOTTOM)) … … 2098 2108 } 2099 2109 2100 if (fuFlags == SWP_FRAMECHANGED) 2101 { 2102 //CB: optimize: if frame size has changed not necessary! 2103 FrameUpdateFrame(this,0); 2110 if(fuFlags & SWP_FRAMECHANGED && (fuFlags & (SWP_NOMOVE | SWP_NOSIZE) == (SWP_NOMOVE | SWP_NOSIZE))) 2111 { 2112 FrameUpdateClient(this); 2104 2113 } 2105 2114
Note:
See TracChangeset
for help on using the changeset viewer.