]> git.saurik.com Git - wxWidgets.git/commitdiff
Split "?:" into "if" statement for assignment of converted buffers,
authorOve Kaaven <ovek@arcticnet.no>
Mon, 3 Jan 2000 02:23:42 +0000 (02:23 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Mon, 3 Jan 2000 02:23:42 +0000 (02:23 +0000)
so Borland C++ 5 accepts compiling it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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