X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b87654f3fd52a9b6c1ebf5a3ff57c85b6c5631d6..533c7161fc06f3e78f977a5b0692150213fa2f7e:/src/generic/wizard.cpp diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 14ecb1d6d6..2131e993d3 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -112,8 +112,8 @@ private: // ---------------------------------------------------------------------------- BEGIN_EVENT_TABLE(wxWizardGeneric, wxDialog) - EVT_BUTTON(wxID_CANCEL, OnCancel) - EVT_BUTTON(-1, OnBackOrNext) + EVT_BUTTON(wxID_CANCEL, wxWizardGeneric::OnCancel) + EVT_BUTTON(-1, wxWizardGeneric::OnBackOrNext) END_EVENT_TABLE() IMPLEMENT_ABSTRACT_CLASS(wxWizard, wxDialog) @@ -191,9 +191,12 @@ wxWizardGeneric::wxWizardGeneric(wxWindow *parent, int x = X_MARGIN; int y = m_y + m_height + BITMAP_Y_MARGIN; + +#if wxUSE_STATLINE (void)new wxStaticLine(this, -1, wxPoint(x, y), wxSize(m_x + m_width - x, 2)); - +#endif + x = m_x + m_width - 3*sizeBtn.x - BUTTON_MARGIN; y += SEPARATOR_LINE_MARGIN; m_btnPrev = new wxButton(this, -1, _("< &Back"), wxPoint(x, y), sizeBtn);