Ignore:
Timestamp:
Nov 3, 1999, 7:00:29 PM (26 years ago)
Author:
cbratschi
Message:

modal dialog fixes

File:
1 edited

Legend:

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

    r1542 r1572  
    1 /* $Id: win32wbase.cpp,v 1.72 1999-11-02 17:07:25 cbratschi Exp $ */
     1/* $Id: win32wbase.cpp,v 1.73 1999-11-03 18:00:27 cbratschi Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    135135  fFirstShow       = TRUE;
    136136  fIsDialog        = FALSE;
     137  fIsModalDialogOwner = FALSE;
     138  OS2HwndModalDialog  = 0;
    137139  fInternalMsg     = FALSE;
    138140  fNoSizeMsg       = FALSE;
     
    213215        }
    214216    }
    215     else 
     217    else
    216218    if(fDestroyAll) {
    217         dprintf(("Destroying window %x %s", getWindowHandle(), windowNameA));
     219        dprintf(("Destroying window %x %s", getWindowHandle(), windowNameA));
    218220        setParent(NULL);  //or else we'll crash in the dtor of the ChildWindow class
    219221    }
     
    433435  if(WIDGETS_IsControl(this, BUTTON_CONTROL) && ((dwStyle & 0x0f) == BS_GROUPBOX))
    434436  {
    435         hwndLinkAfter = HWND_BOTTOM;
    436         dwStyle |= WS_CLIPSIBLINGS;
    437   }
    438   else 
     437        hwndLinkAfter = HWND_BOTTOM;
     438        dwStyle |= WS_CLIPSIBLINGS;
     439  }
     440  else
    439441  if(WIDGETS_IsControl(this, STATIC_CONTROL) && !(dwStyle & WS_GROUP)) {
    440         dwStyle |= WS_CLIPSIBLINGS;
     442        dwStyle |= WS_CLIPSIBLINGS;
    441443  }
    442444
     
    19921994    /* We can't activate a child window (WINE) */
    19931995    if(getStyle() & WS_CHILD)
    1994         showstate &= ~SWPOS_ACTIVATE;
     1996        showstate &= ~SWPOS_ACTIVATE;
    19951997
    19961998    if(showstate & SWPOS_SHOW) {
Note: See TracChangeset for help on using the changeset viewer.