CW: Do not be too smart and add WS_CAPTION in AdjustWindowRectEx
Dmitry Timoshkov
dmitry at baikal.ru
Sun Jan 27 05:12:28 CST 2002
Hello.
This is a part of the big CodeWeavers' patch.
Changelog:
Dmitry Timoshkov <dmitry at codeweavers.com>
Do not be too smart and add WS_CAPTION in AdjustWindowRectEx.
--- cvs/wine/windows/nonclient.c Sun Jan 06 07:25:50 2002
+++ wine/windows/nonclient.c Sun Jan 27 10:53:42 2002
@@ -405,8 +405,6 @@
BOOL WINAPI AdjustWindowRectEx( LPRECT rect, DWORD style, BOOL menu, DWORD exStyle )
{
/* Correct the window style */
-
- if (!(style & (WS_POPUP | WS_CHILD))) style |= WS_CAPTION; /* Overlapped window */
style &= (WS_DLGFRAME | WS_BORDER | WS_THICKFRAME | WS_CHILD);
exStyle &= (WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE |
WS_EX_STATICEDGE | WS_EX_TOOLWINDOW);
More information about the wine-patches
mailing list