- Timestamp:
- Sep 5, 1999, 8:32:27 PM (26 years ago)
- Location:
- trunk/src/user32/new
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wbase.cpp
r840 r841 1 /* $Id: win32wbase.cpp,v 1.1 2 1999-09-05 17:14:03sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.13 1999-09-05 18:32:26 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 1627 1627 { 1628 1628 if(getParent()) { 1629 return getParent()->getWindowHandle();1629 return getParent()->getWindowHandle(); 1630 1630 } 1631 1631 else return 0; … … 1640 1640 if(getParent()) { 1641 1641 oldhwnd = getParent()->getWindowHandle(); 1642 getParent()->RemoveChild(this); 1642 1643 } 1643 1644 else oldhwnd = 0; 1644 1645 1645 1646 if(hwndNewParent == 0) {//desktop window = parent 1646 setParent(NULL);1647 setParent(NULL); 1647 1648 OSLibWinSetParent(getOS2WindowHandle(), OSLIB_HWND_DESKTOP); 1648 1649 return oldhwnd; … … 1652 1653 { 1653 1654 setParent(newparent); 1655 getParent()->AddChild(this); 1654 1656 OSLibWinSetParent(getOS2WindowHandle(), getParent()->getOS2WindowHandle()); 1655 1657 return oldhwnd; … … 1663 1665 { 1664 1666 if(getParent()) { 1665 return getParent()->getWindowHandle() == hwndParent;1667 return getParent()->getWindowHandle() == hwndParent; 1666 1668 } 1667 1669 else return 0; -
trunk/src/user32/new/win32wndchild.cpp
r750 r841 1 /* $Id: win32wndchild.cpp,v 1. 3 1999-08-31 10:36:23sandervl Exp $ */1 /* $Id: win32wndchild.cpp,v 1.4 1999-09-05 18:32:27 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Child/Parent window class for OS/2 … … 51 51 curchild = curchild->getNextChild(); 52 52 } 53 curchild->setNextChild( this);53 curchild->setNextChild(child); 54 54 } 55 55 child->setNextChild(NULL);
Note:
See TracChangeset
for help on using the changeset viewer.