From 10c5cdc5330acb75c8f4f0b4dc75876d93f8ea85 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Mon, 16 Jul 2007 23:02:29 +0000 Subject: [PATCH] -forgot to save the file before committing - this is the actual fix from 27703 svn path=/trunk/; revision=27705 --- reactos/dll/win32/user32/windows/window.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/dll/win32/user32/windows/window.c b/reactos/dll/win32/user32/windows/window.c index 8fde58a8399..e4b503968f7 100644 --- a/reactos/dll/win32/user32/windows/window.c +++ b/reactos/dll/win32/user32/windows/window.c @@ -193,6 +193,10 @@ User32CreateWindowEx(DWORD dwExStyle, ControlsInitialized = ControlsInit(ClassName.Buffer); } + /* remove DS_SHELLFONT style because it conflicts with WS_EX_MDICHILD */ + if (dwExStyle & DS_SHELLFONT) + dwExStyle &= ~DS_SHELLFONT; + if (dwExStyle & WS_EX_MDICHILD) { POINT mPos[2];