X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66cd017c29f69d178d09f6c6a05040461a325709..533c7161fc06f3e78f977a5b0692150213fa2f7e:/src/generic/wizard.cpp?ds=inline diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 6fec89ad79..2131e993d3 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -31,6 +31,7 @@ #ifndef WX_PRECOMP #include "wx/dynarray.h" #include "wx/intl.h" + #include "wx/statbmp.h" #endif //WX_PRECOMP #include "wx/statline.h" @@ -111,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) @@ -190,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);