X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3ab1c18017bb08329e73918f9f502ea00cdb447..9859d369b49e35a1cad0f760173e165f974fb6cb:/src/generic/wizard.cpp diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 385a10d8b8..7973669650 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -643,7 +643,10 @@ bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward) bool hasNext = HasNextPage(m_page); if ( btnLabelWasNext != hasNext ) { - m_btnNext->SetLabel(hasNext ? _("&Next >") : _("&Finish")); + if ( hasNext ) + m_btnNext->SetLabel(_("&Next >")); + else + m_btnNext->SetLabel(_("&Finish")); } // nothing to do: the label was already correct