Ignore:
Timestamp:
Nov 7, 2001, 4:36:10 PM (24 years ago)
Author:
sandervl
Message:

EndDialog fix

File:
1 edited

Legend:

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

    r7241 r7294  
    1 /* $Id: win32wbase.cpp,v 1.297 2001-10-28 10:38:13 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.298 2001-11-07 15:36:10 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    24712471        return TRUE;
    24722472    }
     2473
    24732474#if 0
    24742475    /* Fix redundant flags */
     
    24832484    }
    24842485
    2485     if(cx < 0) cx = 0;
    2486     if(cy < 0) cy = 0;
     2486////    if(cx < 0) cx = 0;
     2487////    if(cy < 0) cy = 0;
    24872488
    24882489    if((rectWindow.right - rectWindow.left == cx) && (rectWindow.bottom - rectWindow.top == cy)) {
     
    25062507        }
    25072508    }
     2509    /* TODO: Check hwndInsertAfter */
     2510
    25082511#endif
    25092512
     
    26462649         wpos->y      = rectWindow.top;
    26472650    }
    2648 
     2651   
    26492652    WINDOWPOS wpOld = *wpos;
    2650     SendInternalMessageA(WM_WINDOWPOSCHANGING, 0, (LPARAM)wpos);
     2653    if(!(wpos->flags & SWP_NOSENDCHANGING))
     2654        SendInternalMessageA(WM_WINDOWPOSCHANGING, 0, (LPARAM)wpos);
    26512655
    26522656    if ((wpos->hwndInsertAfter != wpOld.hwndInsertAfter) ||
     
    34473451
    34483452  hwndActive = OSLibWinQueryActiveWindow();
    3449 
    34503453  return OS2ToWin32Handle(hwndActive);
    34513454}
Note: See TracChangeset for help on using the changeset viewer.