Commit 00353712 authored by Frank Richter's avatar Frank Richter Committed by Alexandre Julliard

Forward WM_DESTROY to superclass in edit & listbox theming.

parent 8bba08ce
......@@ -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 );
......
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