#include "wx/statbmp.h"
#include "wx/button.h"
#include "wx/settings.h"
+ #include "wx/sizer.h"
#endif //WX_PRECOMP
#include "wx/statline.h"
-#include "wx/sizer.h"
#include "wx/wizard.h"
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