Ignore:
Timestamp:
Feb 29, 2000, 8:16:12 PM (25 years ago)
Author:
sandervl
Message:

kdb hook change

File:
1 edited

Legend:

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

    r2881 r2948  
    1 /* $Id: win32wbase.cpp,v 1.169 2000-02-24 19:19:08 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.170 2000-02-29 19:16:12 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    25692569{
    25702570 HWND hwndActive;
    2571  Win32BaseWindow  *win32wnd;
    2572  ULONG         magic;
    25732571
    25742572    dprintf(("SetActiveWindow %x", getWindowHandle()));
    2575     hwndActive = OSLibWinSetActiveWindow(OS2HwndFrame);
    2576     win32wnd = (Win32BaseWindow *)OSLibWinGetWindowULong(hwndActive, OFFSET_WIN32WNDPTR);
    2577     magic    = OSLibWinGetWindowULong(hwndActive, OFFSET_WIN32PM_MAGIC);
    2578     if(CheckMagicDword(magic) && win32wnd)
    2579     {
    2580         return win32wnd->getWindowHandle();
    2581     }
    2582     return windowDesktop->getWindowHandle(); //pretend the desktop was active
     2573    if(OSLibWinSetActiveWindow(OS2HwndFrame) == FALSE) {
     2574        dprintf(("OSLibWinSetActiveWindow %x returned FALSE!", OS2HwndFrame));
     2575    }
     2576    hwndActive = GetActiveWindow();
     2577    return (hwndActive) ? hwndActive : windowDesktop->getWindowHandle(); //pretend the desktop was active
    25832578}
    25842579//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.