if ( !bmpPrev.Ok() )
bmpPrev = m_bitmap;
- if ( bmp != bmpPrev )
+ if ( !bmp.IsSameAs(bmpPrev) )
m_statbmp->SetBitmap(bmp);
}
#endif // wxUSE_STATBMP
bool hasNext = HasNextPage(m_page);
if ( btnLabelWasNext != hasNext )
{
- m_btnNext->SetLabel(hasNext ? _("&Next >") : _("&Finish"));
+ if ( hasNext )
+ m_btnNext->SetLabel(_("&Next >"));
+ else
+ m_btnNext->SetLabel(_("&Finish"));
}
// nothing to do: the label was already correct