Changeset 5965 for trunk/src/user32
- Timestamp:
- Jun 11, 2001, 5:05:44 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wmdiclient.cpp
r5935 r5965 1 /* $Id: win32wmdiclient.cpp,v 1.3 5 2001-06-09 14:50:23sandervl Exp $ */1 /* $Id: win32wmdiclient.cpp,v 1.36 2001-06-11 15:05:44 sandervl Exp $ */ 2 2 /* 3 3 * Win32 MDI Client Window Class for OS/2 … … 347 347 /* Don't activate if it is already active. Might happen 348 348 since ShowWindow DOES activate MDI children */ 349 if(activeChild == child->getWindowHandle()) 349 if((child && activeChild == child->getWindowHandle()) || 350 (child == 0 && activeChild == 0)) 350 351 { 351 352 if(prevActive) RELEASE_WNDOBJ(prevActive); … … 383 384 384 385 dprintf(("childActivate: %x %x", this, (child) ? child->getWindowHandle() : 0)); 385 activeChild = child->getWindowHandle();386 activeChild = (child) ? child->getWindowHandle() : 0; 386 387 387 388 /* check if we have any children left */
Note:
See TracChangeset
for help on using the changeset viewer.