CW: Do not be too smart and add WS_CAPTION in AdjustWindowRectEx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

This is a part of the big CodeWeavers' patch.

Changelog:
    Dmitry Timoshkov <dmitry@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);





[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux