Commit d7484a8a authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

Use the extended window style for the previous style in the style

changing/changed messages if WIN_SetWindowLong is called with GWL_EXSTYLE.
parent e14ae47c
......@@ -2022,7 +2022,8 @@ static LONG WIN_SetWindowLong( HWND hwnd, INT offset, LONG newval,
{
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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment