https://git.reactos.org/?p=reactos.git;a=commitdiff;h=344d5599351c5abae618d…
commit 344d5599351c5abae618dae9693a655cdc34dab0
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Aug 17 20:02:57 2019 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Aug 17 20:02:57 2019 +0900
[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;
}