Use the extended window style for the previous style in the style
changing/changed messages if WIN_SetWindowLong is called with GWL_EXSTYLE.
This commit is contained in:
parent
e14ae47c1d
commit
d7484a8a57
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue