Commit 3c9ab8f6 authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

The message handler of WM_STYLECHANGING is supposed to be able to

modify the proposed style if it wishes.
parent 3566973c
......@@ -1817,7 +1817,7 @@ static LONG WIN_SetWindowLong( HWND hwnd, INT offset, LONG newval,
style.styleOld = wndPtr->dwExStyle;
style.styleNew = newval;
SendMessageA(hwnd,WM_STYLECHANGING,GWL_EXSTYLE,(LPARAM)&style);
wndPtr->dwExStyle = newval;
wndPtr->dwExStyle = style.styleNew;
SendMessageA(hwnd,WM_STYLECHANGED,GWL_EXSTYLE,(LPARAM)&style);
retval = style.styleOld;
goto end;
......
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