[COMCTL32] Unchange the property sheet page after WM_INITDIALOG (#1842)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Sat, 17 Aug 2019 11:02:57 +0000 (20:02 +0900)
committerGitHub <noreply@github.com>
Sat, 17 Aug 2019 11:02:57 +0000 (20:02 +0900)
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

index 70316b5..746d66c 100644 (file)
@@ -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;
 }