https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a4554c07b04e282985b80…
commit a4554c07b04e282985b80b3f3d4769759e577959
Author: Andreas Bjerkeholt <harteex(a)gmail.com>
AuthorDate: Tue Aug 21 11:14:14 2018 +0200
Commit: Harteex <harteex(a)gmail.com>
CommitDate: Tue Aug 21 12:06:41 2018 +0200
[ZIPFLDR] Enable / disable the correct wizard buttons
---
dll/shellext/zipfldr/CZipExtract.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dll/shellext/zipfldr/CZipExtract.cpp b/dll/shellext/zipfldr/CZipExtract.cpp
index 258f9b34a1..baa0b308fc 100644
--- a/dll/shellext/zipfldr/CZipExtract.cpp
+++ b/dll/shellext/zipfldr/CZipExtract.cpp
@@ -163,6 +163,7 @@ public:
m_pExtract->m_DirectoryChanged = false;
::EnableWindow(GetDlgItem(IDC_PASSWORD), FALSE); /* Not supported for now
*/
GetParent().CenterWindow(::GetDesktopWindow());
+ SetWizardButtons(PSWIZB_NEXT);
return 0;
}
@@ -171,6 +172,7 @@ public:
::EnableWindow(GetDlgItem(IDC_BROWSE), FALSE);
::EnableWindow(GetDlgItem(IDC_DIRECTORY), FALSE);
::EnableWindow(GetDlgItem(IDC_PASSWORD), FALSE);
+ SetWizardButtons(0);
if (m_pExtract->m_DirectoryChanged)
UpdateDirectory();
@@ -183,6 +185,7 @@ public:
::EnableWindow(GetDlgItem(IDC_BROWSE), TRUE);
::EnableWindow(GetDlgItem(IDC_DIRECTORY), TRUE);
::EnableWindow(GetDlgItem(IDC_PASSWORD), FALSE); /* Not supported for
now */
+ SetWizardButtons(PSWIZB_NEXT);
return TRUE;
}