Changeset 5965 for trunk/src/user32


Ignore:
Timestamp:
Jun 11, 2001, 5:05:44 PM (24 years ago)
Author:
sandervl
Message:

mdi activate bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wmdiclient.cpp

    r5935 r5965  
    1 /* $Id: win32wmdiclient.cpp,v 1.35 2001-06-09 14:50:23 sandervl Exp $ */
     1/* $Id: win32wmdiclient.cpp,v 1.36 2001-06-11 15:05:44 sandervl Exp $ */
    22/*
    33 * Win32 MDI Client Window Class for OS/2
     
    347347    /* Don't activate if it is already active. Might happen
    348348       since ShowWindow DOES activate MDI children */
    349     if(activeChild == child->getWindowHandle())
     349    if((child && activeChild == child->getWindowHandle()) ||
     350       (child == 0 && activeChild == 0))
    350351    {
    351352        if(prevActive) RELEASE_WNDOBJ(prevActive);
     
    383384
    384385    dprintf(("childActivate: %x %x", this, (child) ? child->getWindowHandle() : 0));
    385     activeChild = child->getWindowHandle();
     386    activeChild = (child) ? child->getWindowHandle() : 0;
    386387
    387388    /* check if we have any children left */
Note: See TracChangeset for help on using the changeset viewer.