[ROSDLGS] Add SetWizardButtons to CPropertyPageImpl
authorMark Jansen <mark.jansen@reactos.org>
Sun, 24 Dec 2017 13:56:42 +0000 (14:56 +0100)
committerMark Jansen <mark.jansen@reactos.org>
Sun, 31 Dec 2017 13:56:22 +0000 (14:56 +0100)
CORE-7684 #234

sdk/include/reactos/rosdlgs.h

index 61361ab..900beeb 100644 (file)
@@ -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;