bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward)
{
- wxASSERT_MSG( page != m_page, T("this is useless") );
+ wxASSERT_MSG( page != m_page, wxT("this is useless") );
// we'll use this to decide whether we have to change the label of this
// button or not (initially the label is "Next")
bool wxWizard::RunWizard(wxWizardPage *firstPage)
{
- wxCHECK_MSG( firstPage, FALSE, T("can't run empty wizard") );
+ wxCHECK_MSG( firstPage, FALSE, wxT("can't run empty wizard") );
// can't return FALSE here because there is no old page
(void)ShowPage(firstPage, TRUE /* forward */);
return m_page;
}
+wxSize wxWizard::GetPageSize() const
+{
+ return wxSize(m_width, m_height);
+}
+
void wxWizard::OnCancel(wxCommandEvent& WXUNUSED(event))
{
// this function probably can never be called when we don't have an active
{
wxASSERT_MSG( (event.GetEventObject() == m_btnNext) ||
(event.GetEventObject() == m_btnPrev),
- T("unknown button") );
+ wxT("unknown button") );
bool forward = event.GetEventObject() == m_btnNext;
{
page = m_page->GetPrev();
- wxASSERT_MSG( page, T("\"<Back\" button should have been disabled") );
+ wxASSERT_MSG( page, wxT("\"<Back\" button should have been disabled") );
}
// just pass to the new page (or may be not - but we don't care here)