// we'll use this to decide whether we have to change the label of this
// button or not (initially the label is "Next")
// we'll use this to decide whether we have to change the label of this
// button or not (initially the label is "Next")
// can't return FALSE here because there is no old page
(void)ShowPage(firstPage, TRUE /* forward */);
// can't return FALSE here because there is no old page
(void)ShowPage(firstPage, TRUE /* forward */);
void wxWizard::OnCancel(wxCommandEvent& WXUNUSED(event))
{
// this function probably can never be called when we don't have an active
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),
{
wxASSERT_MSG( (event.GetEventObject() == m_btnNext) ||
(event.GetEventObject() == m_btnPrev),