Ignore:
Timestamp:
Jul 18, 2000, 8:35:40 PM (25 years ago)
Author:
sandervl
Message:

YD: DestroyWindow fix + error logging extras

File:
1 edited

Legend:

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

    r3800 r3853  
    1 /* $Id: win32wbase.cpp,v 1.206 2000-07-04 08:42:07 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.207 2000-07-18 18:35:39 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    521521                                 0, fTaskList,fXDefault | fCXDefault,windowClass->getStyle());
    522522  if(OS2Hwnd == 0) {
    523         dprintf(("Window creation failed!!"));
     523        dprintf(("Window creation failed!! OS LastError %0x", OSLibWinGetLastError()));
    524524        SetLastError(ERROR_OUTOFMEMORY); //TODO: Better error
    525525        return FALSE;
     
    24042404    if((getStyle() & WS_CHILD) && !(getExStyle() & WS_EX_NOPARENTNOTIFY))
    24052405    {
    2406         if(getParent())
     2406        if(getParent() && getParent()->IsWindowDestroyed() == FALSE)
    24072407        {
    24082408             /* Notify the parent window only */
     
    24132413             }
    24142414        }
    2415         else DebugInt3();
     2415////        else DebugInt3();
    24162416    }
    24172417    /* Hide the window */
Note: See TracChangeset for help on using the changeset viewer.