Ignore:
Timestamp:
Oct 9, 2001, 7:18:05 AM (24 years ago)
Author:
phaller
Message:

enabled low-level keyboard hook

File:
1 edited

Legend:

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

    r6928 r6972  
    1 /* $Id: win32wbase.cpp,v 1.288 2001-10-02 17:14:10 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.289 2001-10-09 05:18:03 phaller Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    27452745BOOL Win32BaseWindow::DestroyWindow()
    27462746{
    2747  HWND hwnd = getWindowHandle();
     2747  HWND hwnd = getWindowHandle();
    27482748
    27492749    dprintf(("DestroyWindow %x", hwnd));
     
    27542754        return FALSE;
    27552755    }
    2756 
     2756 
    27572757    if(!(getStyle() & WS_CHILD) && getOwner() == NULL)
    27582758    {
     
    27852785    }
    27862786    dprintf(("DestroyWindow %x -> HIDDEN", hwnd));
    2787 
     2787 
     2788    // check the handle for the last active popup window
     2789    Win32BaseWindow* owner = getOwner();
     2790    if (NULL != owner)
     2791    {
     2792      if (owner->getLastActive() == hwnd)
     2793        owner->setLastActive( owner->getWindowHandle() );
     2794    }
     2795 
    27882796    fDestroyWindowCalled = TRUE;
    27892797    return OSLibWinDestroyWindow(OS2HwndFrame);
Note: See TracChangeset for help on using the changeset viewer.