Changeset 6166 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Jul 4, 2001, 11:29:52 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r6040 r6166 1 /* $Id: win32wbase.cpp,v 1.27 1 2001-06-17 21:08:01 sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.272 2001-07-04 09:29:51 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 106 106 fInternalMsg = FALSE; 107 107 fNoSizeMsg = FALSE; 108 fParentChange = FALSE; 108 109 fIsDestroyed = FALSE; 109 110 fDestroyWindowCalled = FALSE; … … 2787 2788 } 2788 2789 if(oldparent) { 2790 //release parent here (increased refcount during creation) 2789 2791 RELEASE_WNDOBJ(oldparent); 2790 2792 } … … 2794 2796 setParent(newparent); 2795 2797 getParent()->addChild(this); 2798 fParentChange = TRUE; 2799 2796 2800 OSLibWinSetParent(getOS2FrameWindowHandle(), getParent()->getOS2WindowHandle()); 2797 2801 if(!(getStyle() & WS_CHILD)) … … 2805 2809 } 2806 2810 } 2811 //SvL: Even though the win32 coordinates might not change, the PM 2812 // coordinates can. We must make sure the control stays at the 2813 // same position (y) relative to the (new) parent. 2814 SetWindowPos(HWND_TOPMOST, rectWindow.left, rectWindow.top, 0, 0, 2815 SWP_NOACTIVATE|SWP_NOSIZE); 2816 fParentChange = FALSE; 2807 2817 } 2808 2818 else {
Note:
See TracChangeset
for help on using the changeset viewer.