From e9fa75816c3e343f1751ddc89d581fa2be7ec4a7 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Mon, 3 Jan 2000 02:23:42 +0000 Subject: [PATCH] Split "?:" into "if" statement for assignment of converted buffers, 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 8737d774f1..7981bf47aa 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -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 -- 2.45.2