- Timestamp:
- Mar 27, 2000, 11:41:47 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r3153 r3251 1 /* $Id: win32wbase.cpp,v 1.17 4 2000-03-18 16:13:38 cbratschiExp $ */1 /* $Id: win32wbase.cpp,v 1.175 2000-03-27 21:41:47 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 2255 2255 HWND oldhwnd; 2256 2256 Win32BaseWindow *newparent; 2257 2258 if(getParent()) { 2259 oldhwnd = getParent()->getWindowHandle(); 2260 getParent()->RemoveChild(this); 2257 Win32BaseWindow *oldparent = (Win32BaseWindow *)ChildWindow::GetParent(); 2258 2259 if(oldparent) { 2260 oldhwnd = oldparent->getWindowHandle(); 2261 oldparent->RemoveChild(this); 2261 2262 } 2262 2263 else oldhwnd = 0; … … 2740 2741 return value; 2741 2742 2742 value &= ~ WS_CHILD; /* Some bits can't be changed this way (WINE) */2743 value &= ~(WS_CHILD|WS_VISIBLE); /* Some bits can't be changed this way (WINE) */ 2743 2744 ss.styleOld = getStyle(); 2744 ss.styleNew = value | (ss.styleOld & WS_CHILD);2745 ss.styleNew = value | (ss.styleOld & (WS_CHILD|WS_VISIBLE)); 2745 2746 dprintf(("SetWindowLong GWL_STYLE %x old %x new style %x", getWindowHandle(), ss.styleOld, ss.styleNew)); 2746 2747 SendInternalMessageA(WM_STYLECHANGING,GWL_STYLE,(LPARAM)&ss);
Note:
See TracChangeset
for help on using the changeset viewer.