Changeset 3853 for trunk/src


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

YD: DestroyWindow fix + error logging extras

Location:
trunk/src/user32
Files:
3 edited

Legend:

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

    r3821 r3853  
    1 /* $Id: dc.cpp,v 1.66 2000-07-15 08:08:01 sandervl Exp $ */
     1/* $Id: dc.cpp,v 1.67 2000-07-18 18:35:38 sandervl Exp $ */
    22
    33/*
     
    11941194      WinReleasePS (hpsTemp);
    11951195
    1196    if (!success)
    1197       SetLastError(ERROR_INVALID_PARAMETER_W);
    1198 
     1196   if (!success) {
     1197        dprintf(("RedrawWindow failure!"));
     1198        SetLastError(ERROR_INVALID_PARAMETER_W);
     1199   }
    11991200   return (success);
    12001201}
  • 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 */
  • trunk/src/user32/windlg.cpp

    r2803 r3853  
    1 /* $Id: windlg.cpp,v 1.16 2000-02-16 14:28:25 sandervl Exp $ */
     1/* $Id: windlg.cpp,v 1.17 2000-07-18 18:35:40 sandervl Exp $ */
    22/*
    33 * Win32 dialog apis for OS/2
     
    8383    if(GetLastError() != 0)
    8484    {
    85         dprintf(("Win32Dialog error found!!"));
     85        dprintf(("Win32Dialog error found (%0x)!!", GetLastError()));
    8686        delete dialog;
    8787        return 0;
Note: See TracChangeset for help on using the changeset viewer.