Changeset 15050


Ignore:
Timestamp:
Oct 12, 2000, 1:07:40 AM (25 years ago)
Author:
sandervl
Message:

GetWindow fix

File:
1 edited

Legend:

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

    r15030 r15050  
    1 /* $Id: win32wbase.cpp,v 1.215 2000-10-09 17:26:52 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.216 2000-10-11 23:07:40 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    27552755    case GW_HWNDFIRST:
    27562756        if(getParent()) {
    2757             window = (Win32BaseWindow *)getParent();
    2758             hwndRelated = OSLibWinQueryWindow(window->getOS2WindowHandle(), QWOS_TOP);
     2757             window = (Win32BaseWindow *)getParent();
     2758             hwndRelated = OSLibWinQueryWindow(window->getOS2WindowHandle(), QWOS_TOP);
     2759             window = GetWindowFromOS2Handle(hwndRelated);
     2760             if(window) {
     2761                  hwndRelated = window->getWindowHandle();
     2762             }
     2763             else hwndRelated = 0;
    27592764        }
    27602765        else hwndRelated = 0; //TODO: not correct; should get first child in z-order of desktop
Note: See TracChangeset for help on using the changeset viewer.