wxEXPAND // No border, (mostly useless) horizontal stretching
);
+#if wxUSE_STATBMP
if ( m_bitmap.Ok() )
{
m_statbmp = new wxStaticBitmap(this, -1, m_bitmap);
wxEXPAND // No border, (mostly useless) vertical stretching
);
}
+#endif
// Added to m_sizerBmpAndPage in FinishLayout
m_sizerPage = new wxWizardSizer(this);
bmpIsDefault = FALSE;
}
+#if wxUSE_STATBMP
// change the bitmap if:
// 1) a default bitmap was selected in constructor
// 2) this page was constructed with a bitmap
bmp = m_page->GetBitmap();
m_statbmp->SetBitmap(bmp);
}
+#endif
// and update the buttons state
m_btnPrev->Enable(HasPrevPage(m_page));
else
m_btnNext->SetLabel(_("&Next >"));
}
+ m_btnNext->SetDefault();
// nothing to do: the label was already correct
// send the change event to the new page now