Ignore:
Timestamp:
Aug 23, 2002, 5:06:01 PM (23 years ago)
Author:
sandervl
Message:

Ugly hack added to work around crash in PM when child window calls DestroyWindow for parent or owner in WM_DESTROY handler (solution: postpone DestroyWindow for parent/owner)

File:
1 edited

Legend:

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

    r9008 r9101  
    1 /* $Id: pmwindow.cpp,v 1.187 2002-08-15 15:45:45 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.188 2002-08-23 15:06:00 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    10701070    }
    10711071
     1072//hack alert; PM crashes if child calls DestroyWindow for parent/owner in WM_DESTROY
     1073//            handler; must postpone it, so do it here
     1074    case WIN32APP_POSTPONEDESTROY:
     1075        OSLibWinDestroyWindow(hwnd);
     1076        break;
     1077//hack end
     1078
    10721079#ifdef DEBUG
    10731080    case WM_CLOSE:
Note: See TracChangeset for help on using the changeset viewer.