SetWindLong(...,GWL_EXSTYLE,..) fix

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

 



Hi,

Changelog:
	windows	: win.c
	Use the extended window style for the previous style in the 
	style changing/changed messages if WIN_SetWindowLong is called
	with GWL_EXSTYLE.

Rein. 
-- 
Rein Klazes
rklazes@xs4all.nl
--- wine/windows/win.c	2003-09-06 13:49:17.000000000 +0200
+++ mywine/windows/win.c	2003-10-17 11:27:06.000000000 +0200
@@ -2022,7 +2022,8 @@
         {
         case GWL_STYLE:
         case GWL_EXSTYLE:
-            style.styleOld = wndPtr->dwStyle;
+            style.styleOld =
+                offset == GWL_STYLE ? wndPtr->dwStyle : wndPtr->dwExStyle;
             style.styleNew = newval;
             WIN_ReleasePtr( wndPtr );
             SendMessageW( hwnd, WM_STYLECHANGING, offset, (LPARAM)&style );

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

  Powered by Linux