]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/wizard.cpp
Unicode compilation fixes for BC++ 5
[wxWidgets.git] / src / generic / wizard.cpp
index 8737d774f15bceb5c69e3d887e1a6f21c8d94de4..7981bf47aa3d2c234a65c37d123f5e386506095c 100644 (file)
@@ -244,7 +244,10 @@ bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward)
     if ( btnLabelWasNext != hasNext )
     {
         // need to update
-        m_btnNext->SetLabel(btnLabelWasNext ? _("&Finish") : _("&Next >"));
+        if (btnLabelWasNext)
+            m_btnNext->SetLabel(_("&Finish"));
+        else
+            m_btnNext->SetLabel(_("&Next >"));
     }
     // nothing to do: the label was already correct