Changeset 724 for trunk/src/user32/new/win32wndchild.cpp
- Timestamp:
- Aug 28, 1999, 4:09:58 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wndchild.cpp
r314 r724 1 /* $Id: win32wndchild.cpp,v 1. 1 1999-07-16 11:32:09sandervl Exp $ */1 /* $Id: win32wndchild.cpp,v 1.2 1999-08-28 14:09:30 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Child/Parent window class for OS/2 … … 35 35 } 36 36 //****************************************************************************** 37 // LIFO insertion37 //FIFO insertion 38 38 //****************************************************************************** 39 39 BOOL ChildWindow::AddChild(ChildWindow *child) 40 40 { 41 ChildWindow *curchild; 42 41 43 mutex.enter(); 42 44 43 child->SetNextChild(children); 44 children = child; 45 curchild = children; 46 if(curchild == NULL) { 47 children = child; 48 } 49 else { 50 while(curchild->GetNextChild()) { 51 curchild = curchild->GetNextChild(); 52 } 53 curchild->SetNextChild(this); 54 } 55 child->SetNextChild(NULL); 45 56 46 57 mutex.leave();
Note:
See TracChangeset
for help on using the changeset viewer.