mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
Forward WM_DESTROY to superclass in edit & listbox theming.
This commit is contained in:
parent
8bba08ce3d
commit
00353712f2
@ -246,7 +246,7 @@ LRESULT CALLBACK THEMING_ComboSubclassProc (HWND hwnd, UINT msg,
|
||||
case WM_DESTROY:
|
||||
theme = GetWindowTheme( hwnd );
|
||||
CloseThemeData ( theme );
|
||||
break;
|
||||
return THEMING_CallOriginalClass (hwnd, msg, wParam, lParam);
|
||||
|
||||
case WM_THEMECHANGED:
|
||||
theme = GetWindowTheme( hwnd );
|
||||
|
@ -99,7 +99,7 @@ LRESULT CALLBACK THEMING_EditSubclassProc (HWND hwnd, UINT msg,
|
||||
case WM_DESTROY:
|
||||
theme = GetWindowTheme( hwnd );
|
||||
CloseThemeData ( theme );
|
||||
break;
|
||||
return THEMING_CallOriginalClass (hwnd, msg, wParam, lParam);
|
||||
|
||||
case WM_THEMECHANGED:
|
||||
theme = GetWindowTheme( hwnd );
|
||||
|
Loading…
Reference in New Issue
Block a user