From 344d5599351c5abae618dae9693a655cdc34dab0 Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Sat, 17 Aug 2019 20:02:57 +0900 Subject: [PATCH] [COMCTL32] Unchange the property sheet page after WM_INITDIALOG (#1842) In my testing on Win2k3, EN_CHANGE is generated in OnInitDialog, that is correct. The target is property sheet. The property sheet does unchange the page after WM_INITDIALOG generation. CORE-16280 --- dll/win32/comctl32/propsheet.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dll/win32/comctl32/propsheet.c b/dll/win32/comctl32/propsheet.c index 70316b5a2bf..746d66c8d7c 100644 --- a/dll/win32/comctl32/propsheet.c +++ b/dll/win32/comctl32/propsheet.c @@ -1333,6 +1333,9 @@ static UINT GetTemplateSize(const DLGTEMPLATE* pTemplate) return ret; } +#ifdef __REACTOS__ +static void PROPSHEET_UnChanged(HWND hwndDlg, HWND hwndCleanPage); +#endif /****************************************************************************** * PROPSHEET_CreatePage * @@ -1473,6 +1476,9 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent, if (!(psInfo->ppshheader.dwFlags & INTRNL_ANY_WIZARD)) EnableThemeDialogTexture (hwndPage, ETDT_ENABLETAB); +#ifdef __REACTOS__ + PROPSHEET_UnChanged(hwndParent, hwndPage); +#endif return TRUE; }