https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b2a5a804b4b43b59e21c0…
commit b2a5a804b4b43b59e21c0c9931217c10f0da1c2a
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sun Dec 24 14:56:42 2017 +0100
[ROSDLGS] Add SetWizardButtons to CPropertyPageImpl
CORE-7684 #234
---
sdk/include/reactos/rosdlgs.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sdk/include/reactos/rosdlgs.h b/sdk/include/reactos/rosdlgs.h
index 61361ab313..900beeb610 100644
--- a/sdk/include/reactos/rosdlgs.h
+++ b/sdk/include/reactos/rosdlgs.h
@@ -69,6 +69,11 @@ namespace ATL
::SendMessage(GetParent(), bChanged ? PSM_CHANGED : PSM_UNCHANGED,
(WPARAM)m_hWnd, 0L);
}
+ void SetWizardButtons(DWORD dwFlags)
+ {
+ ::PostMessage(GetParent(), PSM_SETWIZBUTTONS, 0, (LPARAM)dwFlags);
+ }
+
BOOL OnPageCreate()
{
return TRUE;