mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[0.4.7][COMCTL32] Fix regression CORE-16280
The visible symptom for us was, that the Apply button in our
desk.cpl was always visible, even in case no user input was done in the dlg yet.
A very old regression. It regressed somewhere around
SVN r42990 – Good (2009-09-03)
SVN r44397 – Fail (2009-12-04)
The fix is a backport of 0.4.13-dev-908-g
344d559935
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.
This commit is contained in:
parent
b4f3d7a575
commit
e97d99cdf6
1 changed files with 6 additions and 0 deletions
|
@ -1317,6 +1317,9 @@ static UINT GetTemplateSize(const DLGTEMPLATE* pTemplate)
|
|||
return ret;
|
||||
}
|
||||
|
||||
#ifdef __REACTOS__
|
||||
static void PROPSHEET_UnChanged(HWND hwndDlg, HWND hwndCleanPage);
|
||||
#endif
|
||||
/******************************************************************************
|
||||
* PROPSHEET_CreatePage
|
||||
*
|
||||
|
@ -1460,6 +1463,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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue