fix for bug #5987
git-svn-id: svn://10.0.0.236/trunk@51632 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -141,15 +141,15 @@ BOOL CWizardUI::OnSetActive()
|
||||
pSheet->GetDlgItem(ID_WIZNEXT)->SetWindowText("&Next >");
|
||||
}
|
||||
*/
|
||||
if (theApp.IsLastNode(CurrentNode)) {
|
||||
pSheet->SetWizardButtons(PSWIZB_BACK | PSWIZB_FINISH);
|
||||
}
|
||||
else if (theApp.IsFirstNode(CurrentNode)) {
|
||||
pSheet->SetWizardButtons(PSWIZB_NEXT);
|
||||
}
|
||||
else {
|
||||
pSheet->SetWizardButtons(PSWIZB_BACK | PSWIZB_NEXT);
|
||||
}
|
||||
// if (theApp.IsLastNode(CurrentNode)) {
|
||||
// pSheet->SetWizardButtons(PSWIZB_BACK | PSWIZB_FINISH);
|
||||
// }
|
||||
// if (theApp.IsFirstNode(CurrentNode)) {
|
||||
// pSheet->SetWizardButtons(PSWIZB_NEXT);
|
||||
// }
|
||||
// else {
|
||||
// pSheet->SetWizardButtons(PSWIZB_BACK | PSWIZB_NEXT);
|
||||
// }
|
||||
|
||||
// TODO: Add your specialized code here and/or call the base class
|
||||
// SetModified(1);
|
||||
|
||||
Reference in New Issue
Block a user