From 00353712f222ca3ac0f1128855373a8c4055dc03 Mon Sep 17 00:00:00 2001 From: Frank Richter Date: Fri, 19 Aug 2005 13:58:03 +0000 Subject: [PATCH] Forward WM_DESTROY to superclass in edit & listbox theming. --- dlls/comctl32/theme_combo.c | 2 +- dlls/comctl32/theme_edit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/theme_combo.c b/dlls/comctl32/theme_combo.c index 583304e993..fd6f75718a 100644 --- a/dlls/comctl32/theme_combo.c +++ b/dlls/comctl32/theme_combo.c @@ -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 ); diff --git a/dlls/comctl32/theme_edit.c b/dlls/comctl32/theme_edit.c index a76889702a..36141a14ee 100644 --- a/dlls/comctl32/theme_edit.c +++ b/dlls/comctl32/theme_edit.c @@ -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 );