Ignore:
Timestamp:
Oct 5, 2000, 8:37:26 PM (25 years ago)
Author:
sandervl
Message:

GetWindow + z-order bugfixes

File:
1 edited

Legend:

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

    r4430 r4434  
    1 /* $Id: win32wbase.cpp,v 1.213 2000-10-05 13:47:06 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.214 2000-10-05 18:37:26 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    413413  dwExStyle = cs->dwExStyle;
    414414
    415   hwndLinkAfter = HWND_TOP;
    416 #if 1
    417   if(CONTROLS_IsControl(this, BUTTON_CONTROL) && ((dwStyle & 0x0f) == BS_GROUPBOX))
    418   {
    419         hwndLinkAfter = HWND_BOTTOM;
    420         dwStyle |= WS_CLIPSIBLINGS;
    421   }
    422   else
    423 #endif
    424   if(CONTROLS_IsControl(this, STATIC_CONTROL) && !(dwStyle & WS_GROUP)) {
    425         dwStyle |= WS_CLIPSIBLINGS;
    426   }
     415  hwndLinkAfter = ((cs->style & (WS_CHILD|WS_MAXIMIZE)) == WS_CHILD) ? HWND_BOTTOM : HWND_TOP;
    427416
    428417  /* Increment class window counter */
Note: See TracChangeset for help on using the changeset viewer.