SetWindLong(...,GWL_EXSTYLE,..) fix
Rein Klazes
rklazes at xs4all.nl
Fri Oct 17 04:46:32 CDT 2003
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 at xs4all.nl
-------------- next part --------------
--- 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 );
More information about the wine-patches
mailing list