Win16 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -240,7 +240,8 @@ bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward)
|
||||
// and update the buttons state
|
||||
m_btnPrev->Enable(m_page->GetPrev() != (wxWizardPage *)NULL);
|
||||
|
||||
if ( btnLabelWasNext != (m_page->GetNext() != (wxWizardPage *)NULL) )
|
||||
bool hasNext = m_page->GetNext() != (wxWizardPage *)NULL;
|
||||
if ( btnLabelWasNext != hasNext )
|
||||
{
|
||||
// need to update
|
||||
m_btnNext->SetLabel(btnLabelWasNext ? _("&Finish") : _("&Next >"));
|
||||
|
Reference in New Issue
Block a user