mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
take back changes to window styles, they broke our gui consoles
svn path=/trunk/; revision=9351
This commit is contained in:
parent
1b645d2622
commit
21a782aceb
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: window.c,v 1.229 2004/05/10 17:07:18 weiden Exp $
|
/* $Id: window.c,v 1.230 2004/05/10 19:23:37 weiden Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -1634,9 +1634,9 @@ NtUserCreateWindowEx(DWORD dwExStyle,
|
||||||
|
|
||||||
if(!(WindowObject->Style & (WS_POPUP | WS_CHILD)))
|
if(!(WindowObject->Style & (WS_POPUP | WS_CHILD)))
|
||||||
{
|
{
|
||||||
/* Automatically assign the overlapped window style. Also always
|
/* Automatically assign the caption and border style. Also always
|
||||||
clip siblings for overlapped windows. */
|
clip siblings for overlapped windows. */
|
||||||
WindowObject->Style |= (WS_OVERLAPPEDWINDOW | WS_CLIPSIBLINGS);
|
WindowObject->Style |= (WS_CAPTION | WS_BORDER | WS_CLIPSIBLINGS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* create system menu */
|
/* create system menu */
|
||||||
|
|
Loading…
Reference in a new issue