Changeset 1019 for trunk/src


Ignore:
Timestamp:
Sep 23, 1999, 4:40:42 PM (26 years ago)
Author:
phaller
Message:

Fix: WIN32WMDIClient:childActivate, prevActivate == NULL fixed

File:
1 edited

Legend:

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

    r949 r1019  
    1 /* $Id: win32wmdiclient.cpp,v 1.1 1999-09-15 23:19:01 sandervl Exp $ */
     1/* $Id: win32wmdiclient.cpp,v 1.2 1999-09-23 14:39:53 phaller Exp $ */
    22/*
    33 * Win32 MDI Client Window Class for OS/2
     
    388388            SetFocus( getWindowHandle() );
    389389    }
    390     child->SendMessageA( WM_MDIACTIVATE, (WPARAM)prevActive->getWindowHandle(), (LPARAM)child->getWindowHandle());
    391 
     390
     391    /* @@@PH prevActive may be NULL actually ?! */
     392    child->SendMessageA( WM_MDIACTIVATE,
     393                         prevActive ? (WPARAM)prevActive->getWindowHandle() : 0,
     394                         child->getWindowHandle());
    392395    return TRUE;
    393396}
Note: See TracChangeset for help on using the changeset viewer.