Skip to content

Commit 3fa352b

Browse files
committed
[0.4.12][COMCTL32] Fix regression CORE-16280
A very old regression. 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. I am still a bit afraid, because this patch is quite new and it might unhide issues otherwhere, but since it fixes a regression, I decided to take that risk. This patch is a backport of 0.4.13-dev-908-g 344d559
1 parent 431cf0e commit 3fa352b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dll/win32/comctl32/propsheet.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,9 @@ static UINT GetTemplateSize(const DLGTEMPLATE* pTemplate)
13331333
return ret;
13341334
}
13351335

1336+
#ifdef __REACTOS__
1337+
static void PROPSHEET_UnChanged(HWND hwndDlg, HWND hwndCleanPage);
1338+
#endif
13361339
/******************************************************************************
13371340
* PROPSHEET_CreatePage
13381341
*
@@ -1473,6 +1476,9 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent,
14731476
if (!(psInfo->ppshheader.dwFlags & INTRNL_ANY_WIZARD))
14741477
EnableThemeDialogTexture (hwndPage, ETDT_ENABLETAB);
14751478

1479+
#ifdef __REACTOS__
1480+
PROPSHEET_UnChanged(hwndParent, hwndPage);
1481+
#endif
14761482
return TRUE;
14771483
}
14781484

0 commit comments

Comments
 (0)