run-time, as in this case, the wizard won't be able to get to all pages starting
from a single one and you should call {\it Fit} separately for the others.
+\membersection{wxWizard::GetBitmap}\label{wxwizardgetbitmap}
+
+\constfunc{const wxBitmap\&}{GetBitmap}{\void}
+
+Returns the bitmap used for the wizard.
\membersection{wxWizard::GetCurrentPage}\label{wxwizardgetcurrentpage}
successfully finished or {\tt false} if user cancelled it. The {\it firstPage}
can not be {\tt NULL}.
+\membersection{wxWizard::SetBitmap}\label{wxwizardsetbitmap}
+
+\func{void}{SetBitmap}{\param{const wxBitmap\& }{bitmap}}
+
+Sets the bitmap used for the wizard.
\membersection{wxWizard::SetPageSize}\label{wxwizardsetpagesize}
virtual wxSizer *GetPageAreaSizer() const;
virtual void SetBorder(int border);
+ /// set/get bitmap
+ const wxBitmap& GetBitmap() const { return m_bitmap; }
+ void SetBitmap(const wxBitmap& bitmap);
+
// implementation only from now on
// -------------------------------
}
}
+void wxWizard::SetBitmap(const wxBitmap& bitmap)
+{
+ m_bitmap = bitmap;
+ if (m_statbmp)
+ m_statbmp->SetBitmap(m_bitmap);
+}
+
// ----------------------------------------------------------------------------
// wxWizardEvent
// ----------------------------------------------------------------------------