Ignore:
Timestamp:
Jan 14, 2001, 6:15:47 PM (25 years ago)
Author:
sandervl
Message:

listbox, combobox and notifyframe fixes

File:
1 edited

Legend:

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

    r4848 r4945  
    1 /* $Id: win32wbase.cpp,v 1.228 2000-12-29 18:39:59 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.229 2001-01-14 17:15:47 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    22212221   RECT oldClientRect = rectClient;
    22222222
     2223    if(getWindowHandle() == 0x68000010) {
     2224        hParent = 0;
     2225    }
    22232226    if (fuFlags &
    22242227       ~(SWP_NOSIZE     | SWP_NOMOVE     | SWP_NOZORDER     |
     
    23852388
    23862389    MsgFormatFrame(NULL);
     2390
    23872391    if(RECT_WIDTH(rectClient) != RECT_WIDTH(*oldClientRect) ||
    23882392       RECT_HEIGHT(rectClient) != RECT_HEIGHT(*oldClientRect))
    23892393    {
    2390          wpos->flags &= ~SWP_NOSIZE;
     2394         wpos->flags &= ~(SWP_NOSIZE|SWP_NOCLIENTSIZE);
     2395         wpos->cx     = RECT_WIDTH(rectWindow);
     2396         wpos->cy     = RECT_HEIGHT(rectWindow);
     2397    }
     2398
     2399    if(rectClient.left != oldClientRect->left ||
     2400       rectClient.top != oldClientRect->top)
     2401    {
     2402         wpos->flags &= ~(SWP_NOMOVE|SWP_NOCLIENTMOVE);
     2403         wpos->x      = rectWindow.left;
     2404         wpos->y      = rectWindow.top;
    23912405    }
    23922406
Note: See TracChangeset for help on using the changeset viewer.