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
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user