Forward WM_DESTROY to superclass in edit & listbox theming.

This commit is contained in:
Frank Richter 2005-08-19 13:58:03 +00:00 committed by Alexandre Julliard
parent 8bba08ce3d
commit 00353712f2
2 changed files with 2 additions and 2 deletions

View File

@ -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 );

View File

@ -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 );