Ignore:
Timestamp:
Oct 31, 1999, 5:44:05 PM (26 years ago)
Author:
dengert
Message:

fix BS_GROUPBOX controls

File:
1 edited

Legend:

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

    r1516 r1529  
    1 /* $Id: window.cpp,v 1.28 1999-10-30 10:55:16 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.29 1999-10-31 16:44:05 dengert Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    8787    }
    8888#endif
     89    if (!strcmpi(className, "BUTTON") && ((style & 0x0f) == BS_GROUPBOX))
     90      style |= WS_CLIPSIBLINGS;
     91
    8992    /* Create the window */
    9093    cs.lpCreateParams = data;
     
    175178                  dprintf(("CreateWindowEx32W: bad class name %04x\n", LOWORD(className)));
    176179          }
    177           else    dprintf(("CreateWindowEx32W: bad class name "));
     180          else    dprintf(("CreateWindowEx32W: bad class name "));
    178181
    179182          SetLastError(ERROR_INVALID_PARAMETER);
     
    185188    }
    186189    else dprintf(("CreateWindowExW: class %d parent %x (%d,%d) (%d,%d), %x %x", className, parent, x, y, width, height, style, exStyle));
     190
     191    if (!strcmpi(className, L"BUTTON") && ((style & 0x0f) == BS_GROUPBOX))
     192      style |= WS_CLIPSIBLINGS;
    187193
    188194    /* Create the window */
Note: See TracChangeset for help on using the changeset viewer.